From 4aae62e3a7cc57c6cd0e33e74d91f9b5fdff7076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Sun, 12 Nov 2017 14:45:40 +0100 Subject: [PATCH] Add timer field to the debug script. --- packages/usb/get-debug-info.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/usb/get-debug-info.js b/packages/usb/get-debug-info.js index 3d49d206..a1566039 100755 --- a/packages/usb/get-debug-info.js +++ b/packages/usb/get-debug-info.js @@ -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); }