Skip to content

Commit

Permalink
Run clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
andreock committed Jan 30, 2024
1 parent acda42c commit a6defcf
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Adafruit_PN532.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@
#define MIFARE_ULTRALIGHT_CMD_WRITE (0xA2) ///< Write (MiFare Ultralight)

// FeliCa Commands
#define FELICA_CMD_POLLING (0x00) ///< Polling cmd
#define FELICA_CMD_READ_WITHOUT_ENCRYPTION (0x06) ///< Read without encryption
#define FELICA_CMD_WRITE_WITHOUT_ENCRYPTION (0x08) ///< Write without encryption
#define FELICA_CMD_POLLING (0x00) ///< Polling cmd
#define FELICA_CMD_READ_WITHOUT_ENCRYPTION (0x06) ///< Read without encryption
#define FELICA_CMD_WRITE_WITHOUT_ENCRYPTION (0x08) ///< Write without encryption

// Prefixes for NDEF Records (to identify record type)
#define NDEF_URIPREFIX_NONE (0x00) ///< No prefix
Expand Down Expand Up @@ -141,10 +141,12 @@
#define PN532_GPIO_P35 (5) ///< GPIO 35

// FeliCa consts
#define FELICA_READ_MAX_SERVICE_NUM 16 ///< Maximum number of services code during reading
#define FELICA_READ_MAX_BLOCK_NUM 12 ///< for typical FeliCa card
#define FELICA_WRITE_MAX_SERVICE_NUM 16 ///< Maximum number of services code during writing
#define FELICA_WRITE_MAX_BLOCK_NUM 10 //< for typical FeliCa card
#define FELICA_READ_MAX_SERVICE_NUM \
16 ///< Maximum number of services code during reading
#define FELICA_READ_MAX_BLOCK_NUM 12 ///< for typical FeliCa card
#define FELICA_WRITE_MAX_SERVICE_NUM \
16 ///< Maximum number of services code during writing
#define FELICA_WRITE_MAX_BLOCK_NUM 10 //< for typical FeliCa card
#define FELICA_REQ_SERVICE_MAX_NODE_NUM 32

/**
Expand Down

0 comments on commit a6defcf

Please sign in to comment.