Rename the test mode for clarity

This commit is contained in:
Eric Tang
2018-07-20 17:31:00 -07:00
parent a2866feb77
commit c3a5d258e5
5 changed files with 79 additions and 79 deletions

View File

@@ -1,7 +1,7 @@
#include "usb_protocol_handler.h"
#include "usb_commands/usb_command_get_variable.h"
#include "key_matrix.h"
#include "test_mode.h"
#include "test_switches.h"
#include "usb_report_updater.h"
void UsbCommand_GetVariable(void)
@@ -9,8 +9,8 @@ void UsbCommand_GetVariable(void)
usb_variable_id_t variableId = GetUsbRxBufferUint8(1);
switch (variableId) {
case UsbVariable_TestModeActive:
SetUsbTxBufferUint8(1, TestModeActive);
case UsbVariable_TestSwitches:
SetUsbTxBufferUint8(1, TestSwitches);
break;
case UsbVariable_TestUsbStack:
SetUsbTxBufferUint8(1, TestUsbStack);