aboutsummaryrefslogtreecommitdiffstats
path: root/src/glutt-o-logique/fsm.c
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-06-05 20:28:32 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-06-05 20:28:32 +0200
commit97a104555de59091124a854cad3a5a4ff6bd285b (patch)
treef3f0bcb9cdcaa908bc3384da1759bef6998acf40 /src/glutt-o-logique/fsm.c
parentff3d9f84a14ca5c2d4c44bf946b0f0def8abe6b6 (diff)
downloadglutte-o-matic-97a104555de59091124a854cad3a5a4ff6bd285b.tar.gz
glutte-o-matic-97a104555de59091124a854cad3a5a4ff6bd285b.tar.bz2
glutte-o-matic-97a104555de59091124a854cad3a5a4ff6bd285b.zip
Fix USART concurrency, create common usart object
Diffstat (limited to 'src/glutt-o-logique/fsm.c')
-rw-r--r--src/glutt-o-logique/fsm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/glutt-o-logique/fsm.c b/src/glutt-o-logique/fsm.c
index aed633b..edc6f6f 100644
--- a/src/glutt-o-logique/fsm.c
+++ b/src/glutt-o-logique/fsm.c
@@ -26,8 +26,6 @@
#include "GPIO/usart.h"
void fsm_state_switched(char * new_state) {
- usart_debug_puts("FSM: ");
- usart_debug_puts(new_state);
- usart_debug_puts("\r\n");
+ usart_debug_puts_header("FSM: ", new_state);
}