Update rfid_detector.cpp