Rename watchdog related variables to be more intuitively named.

This commit is contained in:
László Monda
2017-11-09 20:41:19 +01:00
parent 4aad86947c
commit c2efb5e0d0
7 changed files with 17 additions and 16 deletions

View File

@@ -9,9 +9,9 @@ uint8_t DebugBuffer[USB_GENERIC_HID_OUT_BUFFER_LENGTH];
void UsbCommand_GetDebugBuffer(void)
{
SET_DEBUG_BUFFER_UINT32(1, I2C_Watchdog);
SET_DEBUG_BUFFER_UINT32(5, I2cSchedulerCounter);
SET_DEBUG_BUFFER_UINT32(9, I2cWatchdog_OuterCounter);
SET_DEBUG_BUFFER_UINT32(13, I2cWatchdog_InnerCounter);
SET_DEBUG_BUFFER_UINT32(5, I2cSlaveScheduler_Counter);
SET_DEBUG_BUFFER_UINT32(9, I2cWatchdog_WatchCounter);
SET_DEBUG_BUFFER_UINT32(13, I2cWatchdog_RecoveryCounter);
memcpy(GenericHidOutBuffer, DebugBuffer, USB_GENERIC_HID_OUT_BUFFER_LENGTH);