Rename usb_command_get_keyboard_state.[ch] to usb_command_get_device_state.[ch]

This commit is contained in:
László Monda
2017-12-14 23:10:13 +01:00
parent beb7c3d4ee
commit bd53b73685
3 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
#include "fsl_common.h"
#include "usb_commands/usb_command_get_device_state.h"
#include "usb_protocol_handler.h"
#include "eeprom.h"
#include "peripherals/merge_sensor.h"
#include "slave_drivers/uhk_module_driver.h"
void UsbCommand_GetKeyboardState(void)
{
SetUsbTxBufferUint8(1, IsEepromBusy);
SetUsbTxBufferUint8(2, MERGE_SENSOR_IS_MERGED);
SetUsbTxBufferUint8(3, UhkModuleStates[UhkModuleDriverId_LeftKeyboardHalf].moduleId);
SetUsbTxBufferUint8(4, UhkModuleStates[UhkModuleDriverId_LeftAddon].moduleId);
SetUsbTxBufferUint8(5, UhkModuleStates[UhkModuleDriverId_RightAddon].moduleId);
}