diff options
-rw-r--r-- | wirish/Print.cpp | 8 | ||||
-rw-r--r-- | 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 <mbolivar@leaflabs.com> */ -#include <math.h> +#include "Print.h" + #include <limits.h> #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 <libmaple_types.h> +#include "libmaple_types.h" enum { BYTE = 0, |