mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 12:42:30 +04:00
* SDK: Fix missing RECORD_CLI define * sdk: added compatibility `cli.h` header * cli: updated porting comments --------- Co-authored-by: hedger <hedger@nanode.su>
14 lines
334 B
C
14 lines
334 B
C
#pragma once
|
|
|
|
/*
|
|
* Compatibility header for ease of porting existing apps.
|
|
* In short:
|
|
* Cli* is replaced with with CliRegistry*
|
|
* cli_* functions are replaced with cli_registry_* functions
|
|
* (i.e., cli_add_command() is now cli_registry_add_command())
|
|
*/
|
|
|
|
#include <toolbox/cli/cli_registry.h>
|
|
|
|
#define RECORD_CLI "cli"
|