From 966f104597275b29f41c06c4574d1bbe9ecde401 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 25 Jan 2020 11:53:44 +0100 Subject: serial wip --- gm_platform/fw/main.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'gm_platform/fw/main.c') diff --git a/gm_platform/fw/main.c b/gm_platform/fw/main.c index d2bc33c..3020a42 100644 --- a/gm_platform/fw/main.c +++ b/gm_platform/fw/main.c @@ -101,9 +101,6 @@ int main(void) { usart_dma_init(); while (42) { - char *data = "FOOBAR\n"; - usart_send_packet((uint8_t*)data, 8); - for (int i=0; i<100000; i++); //int pol = GPIOB->IDR & (1<<1); /* Sample current polarity */ //leds.error = pol ? 100 : 0; //for (int i=0; i<10000; i++) ; -- cgit