diff options
Diffstat (limited to '01_exercise/bootloader.c')
-rw-r--r-- | 01_exercise/bootloader.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/01_exercise/bootloader.c b/01_exercise/bootloader.c index fe2d829..faede85 100644 --- a/01_exercise/bootloader.c +++ b/01_exercise/bootloader.c @@ -17,14 +17,12 @@ void put(char c) { // clang-format on } -char WRITE_STRING = 0x13; - -void print(char const * const str) { - for(int i = 0; str[i] != '\0'; ++i ) { +void print(char const *const str) { + for (int i = 0; str[i] != '\0'; ++i) { put(str[i]); } } void main(void) { - print("Hello!"); + print("Hello!"); } |