diff options
Diffstat (limited to 'usr')
-rw-r--r-- | usr/cxx.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/cxx.cpp b/usr/cxx.cpp index 2240d25..beeef80 100644 --- a/usr/cxx.cpp +++ b/usr/cxx.cpp @@ -1,6 +1,7 @@ extern "C" { #include <graphics/lfb.h> #include <usr/string.h> +#include <drivers/uart.h> }; class Substation { @@ -25,4 +26,5 @@ extern "C" void cpp_demo(unsigned long v) char str[14]; char* start = ulong_to_string(s.max_production, str); draw_string(0, 15, start); + uart_string(start); } |