mirror of
https://github.com/brmlab/brmdoor_libnfc.git
synced 2025-06-08 16:36:25 +02:00
Damn scalar initializers
This commit is contained in:
parent
cafd967ed6
commit
cb05d5a063
2 changed files with 32 additions and 0 deletions
|
@ -1,6 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include <nfc/nfc.h>
|
||||
#include <nfc/nfc-types.h>
|
||||
|
||||
class NFCDevice
|
||||
{
|
||||
|
@ -12,4 +16,14 @@ public:
|
|||
~NFCDevice() {}
|
||||
|
||||
std::string scanUID();
|
||||
|
||||
uint8_t pollNr;
|
||||
|
||||
uint8_t pollPeriod;
|
||||
|
||||
protected:
|
||||
|
||||
static const nfc_modulation _modulations[5];
|
||||
static const size_t _modulationsLen = 5;
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue