[FL-1063} LF-RFID Cli (#515)
* App lfrfid: update emulator to process external data. * App lfrfid: cleanup emulator * App lfrfid: cli interface * Lib: arguments parser lib Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -38,7 +38,7 @@ bool LfrfidSceneWrite::on_event(LfrfidApp* app, LfrfidEvent* event) {
|
||||
LfrfidKeyType type;
|
||||
|
||||
app->get_reader()->read(&type, data, LFRFID_KEY_SIZE);
|
||||
if(type == LfrfidKeyType::KeyEmarine) {
|
||||
if(type == LfrfidKeyType::KeyEM4100) {
|
||||
if(memcmp(em_data, data, 5) == 0) {
|
||||
readed = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user