From 51df6281465c3ea1be28e29d74fd87fc30ff10f2 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Thu, 10 May 2012 10:32:22 +0200 Subject: [PATCH] apohw: Adjust position of LED indicators in the output after switch to RAW mode. Signed-off-by: Pavel Pisa --- hw/apohw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/apohw.c b/hw/apohw.c index 6ba5922a8..908a55f85 100644 --- a/hw/apohw.c +++ b/hw/apohw.c @@ -525,7 +525,7 @@ static void apoterm_display_update(apohw_state_t *d) snprintf(buff, STR_BUFF, "LED: [ ][ ][ ][ ][ ][ ][ ][ ]\n\r"); for (i = 0; i < 8; i++) { if (apoterm->led & (1 << i)) - buff[strlen(buff) - 3 - (3*i)] = '*'; + buff[strlen(buff) - 4 - (3*i)] = '*'; } socket_write(d, buff, strlen(buff)); -- 2.39.2