Move UsbDebugInfo into usb_command_get_debug_info.[ch] and remove external UsbDebugInfo references.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -1,6 +1,14 @@
|
||||
#ifndef __USB_COMMAND_GET_DEBUG_INFO_H__
|
||||
#define __USB_COMMAND_GET_DEBUG_INFO_H__
|
||||
|
||||
// Includes:
|
||||
|
||||
#include "usb_interfaces/usb_interface_generic_hid.h"
|
||||
|
||||
// Variables:
|
||||
|
||||
extern uint8_t UsbDebugInfo[USB_GENERIC_HID_OUT_BUFFER_LENGTH];
|
||||
|
||||
// Functions:
|
||||
|
||||
void UsbCommand_GetDebugInfo(void);
|
||||
|
||||
Reference in New Issue
Block a user