]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Output/uartOut/output_com.c
Changing decToInt to numToInt (adds support for Hex number interpreter)
[kiibohd-controller.git] / Output / uartOut / output_com.c
index 796af63e294faad71357d5d1c991d07c4aa9978e..7f01a4bd140a21c01b69128cc2779e53220c7f23 100644 (file)
@@ -214,7 +214,7 @@ void cliFunc_setKeys( char* args )
                        break;
 
                // Add the USB code to be sent
-               USBKeys_ArrayCLI[USBKeys_SentCLI] = decToInt( arg1Ptr );
+               USBKeys_ArrayCLI[USBKeys_SentCLI] = numToInt( arg1Ptr );
        }
 }
 
@@ -227,6 +227,6 @@ void cliFunc_setMod( char* args )
        char* arg2Ptr;
        CLI_argumentIsolation( args, &arg1Ptr, &arg2Ptr );
 
-       USBKeys_ModifiersCLI = decToInt( arg1Ptr );
+       USBKeys_ModifiersCLI = numToInt( arg1Ptr );
 }