From fd14412b75d42852e9ba324ccc73a7a180a9c51b Mon Sep 17 00:00:00 2001 From: Martin Zidek Date: Fri, 2 May 2008 23:08:55 +0200 Subject: [PATCH] uoled: removed ghost newlines --- src/robofsm/eb2008/fsmdisplay.cc | 1 + src/ulcdd/oledlib.cc | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/robofsm/eb2008/fsmdisplay.cc b/src/robofsm/eb2008/fsmdisplay.cc index d0a06a38..55b6a7c9 100644 --- a/src/robofsm/eb2008/fsmdisplay.cc +++ b/src/robofsm/eb2008/fsmdisplay.cc @@ -223,6 +223,7 @@ FSM_STATE(init) if (FSM_EVENT == EV_ENTRY) { msg_waiting = false; sercom = robot.sercom; + fsm->debug_states = 1; FSM_TRANSITION(set_init_mode); } } diff --git a/src/ulcdd/oledlib.cc b/src/ulcdd/oledlib.cc index 7d966d07..7c9d1017 100644 --- a/src/ulcdd/oledlib.cc +++ b/src/ulcdd/oledlib.cc @@ -27,7 +27,6 @@ int oled_set_balls(uint8_t *buff, int buff_size, uint8_t *carousel) buff[7] = 0;//FIXME buff[8] = 0;//FIXME buff[9] = MSG_TERM; - printf("\n"); return 0; } @@ -45,7 +44,6 @@ int oled_send_hw_status(uint8_t *buff, int buff_size, uint8_t *status) buff[6] = status[4]; buff[7] = status[5]; buff[8] = MSG_TERM; - printf("\n"); return 0; } @@ -58,7 +56,6 @@ int oled_set_color(uint8_t *buff, int buff_size, uint8_t color) buff[1] = COLOR_MSG; buff[2] = color; buff[3] = MSG_TERM; - printf("\n"); return 0; } -- 2.39.2