From 65f5eb6f6a76bfcb04fb9ef8d0897dfdebdce2cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a=20Saviot?= Date: Tue, 16 Jul 2019 09:40:57 +0200 Subject: [PATCH] [ion/bench] Fix LCDData / LCDTiming answer --- ion/src/device/bench/command/lcd_data.cpp | 2 +- ion/src/device/bench/command/lcd_timing.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ion/src/device/bench/command/lcd_data.cpp b/ion/src/device/bench/command/lcd_data.cpp index 705bf70ac..83929c0b3 100644 --- a/ion/src/device/bench/command/lcd_data.cpp +++ b/ion/src/device/bench/command/lcd_data.cpp @@ -20,7 +20,7 @@ void LCDData(const char * input) { for (int i = 6; i < bufferSize; i++) { buffer[i] = 0; } - Poincare::PrintInt::Left(Shared::POSTAndHardwareTests::LCDDataGlyphFailures(), buffer+4, bufferSize - 4 - 1); + Poincare::PrintInt::Left(Shared::POSTAndHardwareTests::LCDDataGlyphFailures(), buffer+6, bufferSize - 6 - 1); reply(buffer); } diff --git a/ion/src/device/bench/command/lcd_timing.cpp b/ion/src/device/bench/command/lcd_timing.cpp index f02bc4b48..a06c80937 100644 --- a/ion/src/device/bench/command/lcd_timing.cpp +++ b/ion/src/device/bench/command/lcd_timing.cpp @@ -20,7 +20,7 @@ void LCDTiming(const char * input) { for (int i = 6; i < bufferSize; i++) { buffer[i] = 0; } - Poincare::PrintInt::Left(Shared::POSTAndHardwareTests::LCDTimingGlyphFailures(), buffer+4, bufferSize - 4 - 1); + Poincare::PrintInt::Left(Shared::POSTAndHardwareTests::LCDTimingGlyphFailures(), buffer+6, bufferSize - 6 - 1); reply(buffer); }