]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
uoled: removed ghost newlines
authorMartin Zidek <zidekm1@gmail.com>
Fri, 2 May 2008 21:08:55 +0000 (23:08 +0200)
committerMartin Zidek <martin@martinzidek.com>
Fri, 2 May 2008 21:08:55 +0000 (23:08 +0200)
src/robofsm/eb2008/fsmdisplay.cc
src/ulcdd/oledlib.cc

index d0a06a384f78364fef66e8cc77348b1c56084274..55b6a7c9d603a1b937e884505e6ca89f4727a25b 100644 (file)
@@ -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);
        }
 }
index 7d966d07f6be252dde993aee26ac5a91e30374ee..7c9d1017dea3d3c0d89a06e215acaa27b9fb3c2c 100644 (file)
@@ -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;
 }