]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Output/pjrcUSB/output_com.c
Changing decToInt to numToInt (adds support for Hex number interpreter)
[kiibohd-controller.git] / Output / pjrcUSB / output_com.c
index 020ada1b2a0afa23ac7095421b1384b159159637..6336a408655d23f1d3c7793d69d9879bac16ced0 100644 (file)
@@ -276,7 +276,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 );
        }
 }
 
@@ -289,6 +289,6 @@ void cliFunc_setMod( char* args )
        char* arg2Ptr;
        CLI_argumentIsolation( args, &arg1Ptr, &arg2Ptr );
 
-       USBKeys_ModifiersCLI = decToInt( arg1Ptr );
+       USBKeys_ModifiersCLI = numToInt( arg1Ptr );
 }