[FL-1629] Better RFID writing (#632)

* RFID: ground the antenna when writing
* RFID: forced switch to indala mode
This commit is contained in:
SG
2021-08-09 22:33:13 +10:00
committed by GitHub
parent c799fcf416
commit b8b0417374
3 changed files with 13 additions and 16 deletions

View File

@@ -6,6 +6,8 @@
#include "decoder-indala.h"
#include "key-info.h"
//#define RFID_GPIO_DEBUG 1
class RfidReader {
public:
enum class Type : uint8_t {
@@ -26,7 +28,9 @@ private:
friend struct RfidReaderAccessor;
//DecoderAnalyzer decoder_analyzer;
//DecoderGpioOut decoder_gpio_out;
#ifdef RFID_GPIO_DEBUG
DecoderGpioOut decoder_gpio_out;
#endif
DecoderEMMarine decoder_em;
DecoderHID26 decoder_hid26;
DecoderIndala decoder_indala;