summaryrefslogtreecommitdiff
path: root/n/es-2006/src/ack.h
diff options
context:
space:
mode:
authordufourj2006-05-24 04:17:12 +0000
committerdufourj2006-05-24 04:17:12 +0000
commit84ed888b09f0a4bb430b156eebc0afe5de7a8981 (patch)
tree492ebb5091e5e69c82258c7485138036a455f0e5 /n/es-2006/src/ack.h
parent6eb802cdd87ebac5fa1c5eb129827ed1149fdb2e (diff)
Es :
- ajout des paramêtres chargés à la création de la classe ; - mise à niveau avec le code avr. ES : - quelques corrections au niveau protocolaire (c, j, k sont disponnibles) ; - ajout de quelques commentaires de questions.
Diffstat (limited to 'n/es-2006/src/ack.h')
-rw-r--r--n/es-2006/src/ack.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/n/es-2006/src/ack.h b/n/es-2006/src/ack.h
index 7eb3d35..98b0dfa 100644
--- a/n/es-2006/src/ack.h
+++ b/n/es-2006/src/ack.h
@@ -30,10 +30,13 @@
/* Do not use, it's only for the main */
extern uint8_t ack_value;
-/** List here what you want to tell to the world and put a description */
+/** List here what you want to tell to the world and put a description.
+ * You must use a different number for each code and it must be lower than 255
+ * of course ! */
+#define ACK_NOTHING 0 /* Nothing to ack */
+#define ACK_CONTACT_FRONT 1 /* Something in the front */
-#define ACK_NOTHING 0
-#define ACK_CONTACT_FRONT 1
+// FIXME, inline ? static ?
/** Reset ack status */
void ack_reset (void)