jankos/tests.c

18 lines
358 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\nOh yea and serial 0x3f8";
printf(msg1);
serial_write(msg1, strlen(msg1));
char* msg2 = "\nserial write has finished";
printf(msg2);
}
void test_dispatcher() {
test_write();
}