1
0
Fork 0
Projet_Barbapapa_Firmware/include
Teo-CD 3ee09f284a RFID: Change the checkTag fail return
Previously, checkTag() returned 0 when it failed or when there was no changes.
This is fine if we are only expecting already programmed tags, but as tags
arrive new with blocks zeroed out, which conflicts with the 0 return value.

Introduce a new constant to RFID for the return error, -1, and use it
instead of 0 everywhere.
Update comments and README to highlight this new reserved ID.
2024-03-07 23:05:14 +00:00
..
Com.h Com: Implement tag programming 2024-01-06 00:32:19 +00:00
IDs.h IDs: Introduce ID handling functions and data 2023-10-21 18:23:43 +01:00
LCD.h Speaker: Introduce audio playback 2023-10-22 21:19:29 +01:00
Pinout.h Add pinout 2023-09-09 18:19:57 +01:00
RFID.h RFID: Change the checkTag fail return 2024-03-07 23:05:14 +00:00
Speaker.h Speaker: Introduce audio playback 2023-10-22 21:19:29 +01:00