Add timer field to the debug script.

This commit is contained in:
László Monda
2017-11-12 14:45:40 +01:00
parent dbbb3e6d0f
commit 4aae62e3a7

View File

@@ -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);
}