From e42b8d7ef811df7f552582c57cda66a275670fe4 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Sun, 26 Oct 2008 12:31:45 +0000 Subject: Moving makeWord() function defintion into WMath.cpp (out of WProgram.h). --- cores/arduino/WProgram.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cores/arduino/WProgram.h') diff --git a/cores/arduino/WProgram.h b/cores/arduino/WProgram.h index e20cab5..fc14923 100755 --- a/cores/arduino/WProgram.h +++ b/cores/arduino/WProgram.h @@ -12,8 +12,8 @@ #ifdef __cplusplus #include "HardwareSerial.h" -uint16_t makeWord(uint16_t w) { return w; } -uint16_t makeWord(byte h, byte l) { return (h << 8) | l; } +uint16_t makeWord(uint16_t w); +uint16_t makeWord(byte h, byte l); #define word(...) makeWord(__VA_ARGS__) -- cgit v1.2.3-18-g5258