Rename get_module_properties.[ch] to get_module_property.[ch]. It seems that the header wasn't included in usb_protocol_handler.c possibly causing issues when using these commands.

This commit is contained in:
László Monda
2017-12-23 16:06:24 +01:00
parent 40bf252852
commit 5190265a2c
4 changed files with 9 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
#include "usb_protocol_handler.h"
#include "buffer.h"
#include "usb_commands/usb_command_get_property.h"
#include "usb_commands/usb_command_get_module_property.h"
#include "usb_commands/usb_command_reenumerate.h"
#include "usb_commands/usb_command_set_test_led.h"
#include "usb_commands/usb_command_write_config.h"
@@ -61,8 +62,8 @@ void UsbProtocolHandler(void)
case UsbCommandId_SetLedPwmBrightness:
UsbCommand_SetLedPwmBrightness();
break;
case UsbCommandId_GetModuleProperties:
UsbCommand_GetModuleProperties();
case UsbCommandId_GetModuleProperty:
UsbCommand_GetModuleProperty();
break;
default:
SetUsbTxBufferUint8(0, UsbStatusCode_InvalidCommand);