# HG changeset patch # User darius@Inchoate # Date 1225258396 -37800 # Node ID 94f71ddb0cdaf961830f5ef117d1dd5ee1ca464e # Parent 13a68734348b7fcd742cf261476fe83867e1dcf3 Move declaration of error table up with the function declarations. diff -r 13a68734348b -r 94f71ddb0cda 1wire.h --- a/1wire.h Mon Oct 20 22:22:15 2008 +1030 +++ b/1wire.h Wed Oct 29 16:03:16 2008 +1030 @@ -42,6 +42,8 @@ void OWSendCmd(uint8_t *ROM, uint8_t cmd); uint8_t OWProgROM(uint8_t *ROM, uint8_t start, uint8_t len, uint8_t *data, uint8_t exact, uint8_t status); int16_t OWGetTemp(uint8_t *ROM); +extern const PROGMEM char *OWProgROM_Status[]; + /* Return codes for OWFirst()/OWNext() */ #define OW_BADWIRE -3 @@ -86,6 +88,3 @@ /* Helpers for OWGetTemp's number system */ #define GETWHOLE(x) ((x) / 100) #define GETFRAC(x) ((x) - (GETWHOLE(x) * 100)) - -extern const PROGMEM char *OWProgROM_Status[]; -