Skip to content
Snippets Groups Projects
Commit c94502cf authored by Jakob's avatar Jakob
Browse files

refactor: no infinit while loop needed

parent 745990c1
No related branches found
No related tags found
1 merge request!1copied and adapted example from mdk, added init and config uart
......@@ -6,13 +6,10 @@
int main(void) {
wdt_disable();
while(1){
delay_ms(1000);
init_uart();
config_uart();
enable_uart_transmitter();
delay_ms(1000);
}
return 0;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment