diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2008-10-26 12:31:45 +0000 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2008-10-26 12:31:45 +0000 |
commit | e42b8d7ef811df7f552582c57cda66a275670fe4 (patch) | |
tree | 891c8ca3e11e15a0bdc5e8dfb9e894f1c0c61d5f /cores/arduino/WProgram.h | |
parent | da84adb1e9d09b069137dd90f2e99c43a4db42ad (diff) |
Moving makeWord() function defintion into WMath.cpp (out of WProgram.h).
Diffstat (limited to 'cores/arduino/WProgram.h')
-rwxr-xr-x | cores/arduino/WProgram.h | 4 |
1 files changed, 2 insertions, 2 deletions
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__) |