Move UsbDebugInfo into usb_command_get_debug_info.[ch] and remove external UsbDebugInfo references.

This commit is contained in:
László Monda
2017-11-05 19:07:12 +01:00
parent ebd06ebbc6
commit 3f52819c0e
6 changed files with 10 additions and 11 deletions

View File

@@ -5,6 +5,8 @@
#include "slave_scheduler.h"
#include "i2c_watchdog.h"
uint8_t UsbDebugInfo[USB_GENERIC_HID_OUT_BUFFER_LENGTH];
void UsbCommand_GetDebugInfo(void)
{
*(uint32_t*)(UsbDebugInfo+1) = I2C_Watchdog;