From f33f1d71ea22b7700099609fd7a287dc6a6b8af0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Thu, 20 Oct 2016 00:28:00 +0200 Subject: [PATCH] Make texts less redundant. --- usb/read-iso-jumper.js | 2 +- usb/read-led-jumper.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usb/read-iso-jumper.js b/usb/read-iso-jumper.js index 543192f3..91ae11ba 100755 --- a/usb/read-iso-jumper.js +++ b/usb/read-iso-jumper.js @@ -35,7 +35,7 @@ function readLedJumper() { } console.log('Received', util.bufferToString(receivedBuffer)); var isIso = receivedBuffer[1] === 0; - console.log('This means that the ISO jumper is ' + (isIso ? 'closed' : 'open') + ' so the detected layout is ' + (isIso ? 'ISO' : 'ANSI')); + console.log('ISO jumper is ' + (isIso ? 'closed' : 'open') + ' so the detected layout is ' + (isIso ? 'ISO' : 'ANSI')); console.log('Restart the UHK after switching the switch for the change to take effect!'); }) }); diff --git a/usb/read-led-jumper.js b/usb/read-led-jumper.js index 694c563e..fd442a7d 100755 --- a/usb/read-led-jumper.js +++ b/usb/read-led-jumper.js @@ -35,7 +35,7 @@ function readLedJumper() { } console.log('Received', util.bufferToString(receivedBuffer)); var isLedJumperOn = receivedBuffer[1] === 0; - console.log('This means that the LED jumper is ' + (isLedJumperOn ? 'on' : 'off')) + console.log('LED jumper is ' + (isLedJumperOn ? 'on' : 'off')) setTimeout(readLedJumper, 500) }) });