From a2a06f56cce4f378ffa9e21c442ca1b1a57f8b76 Mon Sep 17 00:00:00 2001 From: "Randall Bohn (Huckle)" Date: Tue, 31 Jan 2012 05:51:18 -0700 Subject: [PATCH] Be more specific about datatypes in the parameter struct. --- .../examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build/shared/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino b/build/shared/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino index d5bf7b81a..622d7cd35 100644 --- a/build/shared/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino +++ b/build/shared/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino @@ -91,12 +91,12 @@ typedef struct param { uint8_t selftimed; uint8_t lockbytes; uint8_t fusebytes; - int flashpoll; - int eeprompoll; - int pagesize; - int eepromsize; - int flashsize; -} + uint8_t flashpoll; + uint16_t eeprompoll; + uint16_t pagesize; + uint16_t eepromsize; + uint32_t flashsize; +} parameter; parameter param;