From 2a3dfcb0d0c85730eca10aae03a2fe30afefcc97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Wed, 27 Dec 2017 22:47:53 +0100 Subject: [PATCH] Improve firmware update messages. --- packages/uhk-usb/src/uhk-operations.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/uhk-usb/src/uhk-operations.ts b/packages/uhk-usb/src/uhk-operations.ts index 72dc0859..ae0b71b2 100644 --- a/packages/uhk-usb/src/uhk-operations.ts +++ b/packages/uhk-usb/src/uhk-operations.ts @@ -26,7 +26,7 @@ export class UhkOperations { await this.blhost.runBlhostCommand([...prefix, 'flash-erase-region', '0xc000', '475136']); await this.blhost.runBlhostCommand([...prefix, 'flash-image', `"${firmwarePath}"`]); await this.blhost.runBlhostCommand([...prefix, 'reset']); - this.logService.debug('[UhkOperations] End flashing right firmware'); + this.logService.debug('[UhkOperations] Right firmware successfully flashed'); } public async updateLeftModule(firmwarePath = this.getLeftModuleFirmwarePath()) { @@ -58,7 +58,8 @@ export class UhkOperations { await this.device.sendKbootCommandToModule(ModuleSlotToI2cAddress.leftHalf, KbootCommands.idle); this.device.close(); - this.logService.debug('[UhkOperations] End flashing left module firmware'); + this.logService.debug('[UhkOperations] Left firmware successfully flashed'); + this.logService.debug('[UhkOperations] Both left and right firmwares successfully flashed'); } /**