diff options
author | Christian Cunningham <cc@localhost> | 2022-04-02 19:03:25 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-04-02 19:03:25 -0700 |
commit | 2c4dae7cc22db0a29532df63dc969485a3e5e957 (patch) | |
tree | db58f3ecb246a84d56f8e39c0aed1b651e86df0e /usr | |
parent | 81cb7fc05c0c8f6a260378fe1312f68cc5da4ce8 (diff) |
VSCodium Build Tasks
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); } |