]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Scan/MD1/scan_loop.c
HUGE AVR RAM optimization (~28%).
[kiibohd-controller.git] / Scan / MD1 / scan_loop.c
index 9d28055429794d2554344bfd315d8b42579d345b..b75dc0b627332c0ed29fa32a340c185b485aa7aa 100644 (file)
@@ -46,9 +46,10 @@ void cliFunc_echo( char* args );
 // ----- Variables -----
 
 // Scan Module command dictionary
-const char scanCLIDictName[] = "Scan Module Commands";
-const CLIDictItem scanCLIDict[] = {
-       { "echo",        "Example command, echos the arguments.", cliFunc_echo },
+CLIDict_Entry( echo,        "Example command, echos the arguments." );
+
+CLIDict_Def( scanCLIDict, "Scan Module Commands" ) = {
+       CLIDict_Item( echo ),
        { 0, 0, 0 } // Null entry for dictionary end
 };