Set up the timer properly and introduce CurrentTime.

This commit is contained in:
László Monda
2017-11-12 17:33:23 +01:00
parent a91f945591
commit 332f2a69fa
5 changed files with 35 additions and 13 deletions

View File

@@ -14,7 +14,7 @@ void UsbCommand_GetDebugBuffer(void)
SetDebugBufferUint32(5, I2cSlaveScheduler_Counter);
SetDebugBufferUint32(9, I2cWatchdog_WatchCounter);
SetDebugBufferUint32(13, I2cWatchdog_RecoveryCounter);
SetDebugBufferUint32(40, Timer_GetTime());
SetDebugBufferUint32(40, CurrentTime);
memcpy(GenericHidOutBuffer, DebugBuffer, USB_GENERIC_HID_OUT_BUFFER_LENGTH);