]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Output/usbMuxUart/output_com.c
Changing decToInt to numToInt (adds support for Hex number interpreter)
[kiibohd-controller.git] / Output / usbMuxUart / output_com.c
index 5e664e1403f60c52be1d71d9215bb75851c1ee10..15bd2771e470540585927215b6d5efa7cbe25842 100644 (file)
@@ -278,7 +278,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 );
        }
 }
 
@@ -291,6 +291,6 @@ void cliFunc_setMod( char* args )
        char* arg2Ptr;
        CLI_argumentIsolation( args, &arg1Ptr, &arg2Ptr );
 
-       USBKeys_ModifiersCLI = decToInt( arg1Ptr );
+       USBKeys_ModifiersCLI = numToInt( arg1Ptr );
 }