]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Scan/MatrixARM/matrix_scan.c
Fixing RAM calculator and reduced actual SRAM usage
[kiibohd-controller.git] / Scan / MatrixARM / matrix_scan.c
index e3b5429dd4139298d13ee5a27a2a1d4c412d574a..11ecba3511cac7d24dea9469c6d6612f09442904 100644 (file)
@@ -49,8 +49,8 @@ void cliFunc_matrixState( char* args );
 // ----- Variables -----
 
 // Scan Module command dictionary
-char*       matrixCLIDictName = "Matrix Module Commands";
-CLIDictItem matrixCLIDict[] = {
+const char matrixCLIDictName[] = "Matrix Module Commands";
+const CLIDictItem matrixCLIDict[] = {
        { "matrixDebug",  "Enables matrix debug mode, prints out each scan code." NL "\t\tIf argument \033[35mT\033[0m is given, prints out each scan code state transition.", cliFunc_matrixDebug },
        { "matrixState",  "Prints out the current scan table N times." NL "\t\t \033[1mO\033[0m - Off, \033[1;33mP\033[0m - Press, \033[1;32mH\033[0m - Hold, \033[1;35mR\033[0m - Release, \033[1;31mI\033[0m - Invalid", cliFunc_matrixState },
        { 0, 0, 0 } // Null entry for dictionary end