Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5febb29

Browse files
author
Randall Bohn (Huckle)
committed
Be more specific about datatypes in the parameter struct.
1 parent db0fd33 commit 5febb29

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ArduinoISP/ArduinoISP.ino

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ typedef struct param {
9191
uint8_t selftimed;
9292
uint8_t lockbytes;
9393
uint8_t fusebytes;
94-
int flashpoll;
95-
int eeprompoll;
96-
int pagesize;
97-
int eepromsize;
98-
int flashsize;
94+
uint8_t flashpoll;
95+
uint16_t eeprompoll;
96+
uint16_t pagesize;
97+
uint16_t eepromsize;
98+
uint32_t flashsize;
9999
}
100100
parameter;
101101

0 commit comments

Comments
 (0)