changeset 48:94f71ddb0cda

Move declaration of error table up with the function declarations.
author darius@Inchoate
date Wed, 29 Oct 2008 16:03:16 +1030
parents 13a68734348b
children 91e06007fe23
files 1wire.h
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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[];
-