]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Scan/MD1/scan_loop.c
Initial I2C work for ISSI IS31FL3731
[kiibohd-controller.git] / Scan / MD1 / scan_loop.c
index 9d28055429794d2554344bfd315d8b42579d345b..f908f39214e43585ebae7a15dd6c43a4a93194b7 100644 (file)
 #include <led.h>
 #include <print.h>
 #include <matrix_scan.h>
+#include <macro.h>
 
 // Local Includes
 #include "scan_loop.h"
-#include "macro.h"
 
 
 
@@ -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
 };