[FL-1058] Low frequency RFID app [Indala 40134 Encoder] (#447)

* App Lfrfid: Rename encoder to match extact protocol.
* Api-hal-gpio: fix alt fn config
* Api-hal-gpio: fixed fix
* App Lfrfid: indala 40134 timer stage
This commit is contained in:
SG
2021-05-06 18:45:52 +10:00
committed by GitHub
parent c880f90eb5
commit ffd4948ae2
10 changed files with 64 additions and 97 deletions

View File

@@ -3,8 +3,8 @@
#include "key-info.h"
#include "encoder-generic.h"
#include "encoder-emmarine.h"
#include "encoder-hid.h"
#include "encoder-indala.h"
#include "encoder-hid-h10301.h"
#include "encoder-indala-40134.h"
#include "pulse-joiner.h"
#include <map>
@@ -12,8 +12,8 @@ class RfidTimerEmulator {
public:
enum class Type : uint8_t {
EM,
HID,
Indala,
HID_H10301,
Indala_40134,
};
RfidTimerEmulator();
@@ -27,8 +27,8 @@ private:
std::map<Type, EncoderGeneric*> encoders = {
{Type::EM, new EncoderEM()},
{Type::HID, new EncoderHID()},
{Type::Indala, new EncoderIndala()},
{Type::HID_H10301, new EncoderHID_H10301()},
{Type::Indala_40134, new EncoderIndala_40134()},
};
PulseJoiner pulse_joiner;