1
0
Fork 0
Projet_Barbapapa_Firmware/src
trotFunky ec5d0d2d66 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.cpp Com: Append new line when flusing serial 2024-03-07 21:49:14 +00:00
IDs.cpp IDs: Mystery lifted, Loup-Garou ! 2023-11-10 17:50:13 +00:00
LCD.cpp Speaker: Introduce audio playback 2023-10-22 21:19:29 +01:00
main.cpp RFID: Change the checkTag fail return 2024-03-07 23:05:14 +00:00
RFID.cpp RFID: Change the checkTag fail return 2024-03-07 23:05:14 +00:00
Speaker.cpp Speaker: Introduce audio playback 2023-10-22 21:19:29 +01:00