Fixed RFID scanning and implemented calling actions on Player.
This commit is contained in:
@ -39,4 +39,4 @@
|
||||
#define VOLUME_MAX 0xC0
|
||||
#define VOLUME_STEP 0x08
|
||||
|
||||
#define RFID_SCAN_INTERVAL 500
|
||||
#define RFID_SCAN_INTERVAL 100
|
||||
|
@ -11,6 +11,8 @@ private:
|
||||
bool _rfid_enabled = true;
|
||||
void _check_rfid();
|
||||
void _check_serial();
|
||||
uint32_t _get_rfid_card_uid();
|
||||
uint32_t _last_rfid_card_uid = 0;
|
||||
Player* _player;
|
||||
unsigned long _last_rfid_scan_at = 0;
|
||||
public:
|
||||
|
Reference in New Issue
Block a user