Add timer field to the debug script.
This commit is contained in:
@@ -15,7 +15,8 @@ function getDebugInfo() {
|
||||
process.stdout.write(`I2C_Watchdog:${getUint32(rxBuffer, 1)} | `);
|
||||
process.stdout.write(`I2cSlaveScheduler_Counter:${getUint32(rxBuffer, 5)} | `);
|
||||
process.stdout.write(`I2cWatchdog_WatchCounter:${getUint32(rxBuffer, 9)} | `);
|
||||
process.stdout.write(`I2cWatchdog_RecoveryCounter:${getUint32(rxBuffer, 13)}`);
|
||||
process.stdout.write(`I2cWatchdog_RecoveryCounter:${getUint32(rxBuffer, 13)} | `);
|
||||
process.stdout.write(`Timer:${getUint32(rxBuffer, 40)}`);
|
||||
process.stdout.write('\n');
|
||||
setTimeout(getDebugInfo, 500);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user