Move UART implementation to seperate module

This commit is contained in:
2024-08-26 17:30:33 +02:00
parent 35adae7c1f
commit 0505401d0b
6 changed files with 76 additions and 39 deletions

9
src/common.h Normal file
View File

@@ -0,0 +1,9 @@
#ifndef MAD_COMMON_H
#define MAD_COMMON_H
#define UNUSED(s) (void)(s)
#include <util/delay.h>
#define Sleep(ms) _delay_ms(ms)
#endif // MAD_COMMON_H