feat(serial): call set_baud_rate in main

This commit is contained in:
aliamelo committed 2021-07-13 03:16:12 +02:00
1 parent 2fd5c536e0
commit 5e3155aebf
2 files changed
+2

No files matched your search

+1
View File
@@ -35,6 +35,7 @@ void k_main(unsigned long magic, multiboot_info_t *info)
char star[4] = "|/-\\";
char *fb = (void *)0xb8000;
set_baud_rate();
init_serial();
printf("bonjour\r\n");
+1
View File
@@ -20,6 +20,7 @@
#define EMPTY_TRANSMITTER (0x1 << 5)
void set_baud_rate(void);
void init_serial(void);
int write(const char *buf, size_t count);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.