Rename the test mode for clarity
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "usb_protocol_handler.h"
|
||||
#include "usb_commands/usb_command_set_variable.h"
|
||||
#include "key_matrix.h"
|
||||
#include "test_mode.h"
|
||||
#include "test_switches.h"
|
||||
#include "usb_report_updater.h"
|
||||
|
||||
void UsbCommand_SetVariable(void)
|
||||
@@ -9,10 +9,10 @@ void UsbCommand_SetVariable(void)
|
||||
usb_variable_id_t variableId = GetUsbRxBufferUint8(1);
|
||||
|
||||
switch (variableId) {
|
||||
case UsbVariable_TestModeActive:
|
||||
case UsbVariable_TestSwitches:
|
||||
if (GetUsbRxBufferUint8(2)) {
|
||||
TestModeActive = true;
|
||||
TestMode_Activate();
|
||||
TestSwitches = true;
|
||||
TestSwitches_Activate();
|
||||
}
|
||||
break;
|
||||
case UsbVariable_TestUsbStack:
|
||||
|
||||
Reference in New Issue
Block a user