jankos/tests.c
2019-10-07 19:40:04 -07:00

20 lines
393 B
C

// Module for testing drivers and other things
#include "stlio.h"
#include "tests.h"
#include "serial.h"
void test_write() {
clear_fb();
char* msg1 = "Writing this to fbout\n";
char* serial1 = "0123456789abcdef0123456789abcdef";
char* msg2 = "serial write has finished";
printf(msg1);
serial_write(serial1, strlen(serial1));
printf(msg2);
}
void test_dispatcher() {
test_write();
}