From b6146f25bf7d695f3d6f966ced42d841c9879687 Mon Sep 17 00:00:00 2001 From: Roger Clark Date: Fri, 26 Dec 2014 09:11:48 +1100 Subject: [PATCH] Changed definition of word type to match Due --- STM32F1XX/cores/maple/wirish.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/STM32F1XX/cores/maple/wirish.h b/STM32F1XX/cores/maple/wirish.h index d8dc5c0..15fe8b8 100644 --- a/STM32F1XX/cores/maple/wirish.h +++ b/STM32F1XX/cores/maple/wirish.h @@ -77,7 +77,9 @@ #define MISO 3 #define SCK 4 -typedef uint16 word; +typedef unsigned int word; +// typedef uint16 word;// definition from Arduino website, now appears to be incorrect for 32 bit devices + /* Wiring macros and bit defines */ #define true 0x1