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_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);
|
||||
|
||||
Reference in New Issue
Block a user