From ac509ea796f907dc27841a1e4cfa74c2a3285d6a Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Mon, 25 Apr 2011 18:02:10 -0400 Subject: Minor Print cleanups. --- wirish/Print.cpp | 8 ++++---- wirish/Print.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wirish/Print.cpp b/wirish/Print.cpp index 3d7e836..cfb2cda 100644 --- a/wirish/Print.cpp +++ b/wirish/Print.cpp @@ -21,7 +21,8 @@ * Modified 12 April 2011 by Marti Bolivar */ -#include +#include "Print.h" + #include #ifndef LLONG_MAX @@ -39,8 +40,7 @@ #define LLONG_MAX 9223372036854775807LL #endif -#include "wirish.h" -#include "Print.h" +#include "wirish_math.h" /* * Public methods @@ -64,7 +64,7 @@ void Print::print(uint8 b) { } void Print::print(char c) { - print((byte)c); + print((uint8)c); } void Print::print(const char str[]) { diff --git a/wirish/Print.h b/wirish/Print.h index a4a93bf..ec7b163 100644 --- a/wirish/Print.h +++ b/wirish/Print.h @@ -23,7 +23,7 @@ #ifndef _PRINT_H_ #define _PRINT_H_ -#include +#include "libmaple_types.h" enum { BYTE = 0, -- cgit v1.2.3