mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-18 19:01:47 +03:00
1242327e14
* ibutton: remove existing key file before saving new * ibutton: save key name in iButtunKey object * ibutton: rename IBUTTON_KEY_SIZE -> IBUTTON_KEY_DATA_SIZE * ibutton: clear key when enter one manually * ibutton: change strcpy -> strlcpy Co-authored-by: あく <alleteam@gmail.com>
11 lines
218 B
C
11 lines
218 B
C
#pragma once
|
|
#include <stdint.h>
|
|
|
|
static const uint8_t IBUTTON_KEY_DATA_SIZE = 8;
|
|
static const uint8_t IBUTTON_KEY_NAME_SIZE = 64;
|
|
|
|
enum class iButtonKeyType : uint8_t {
|
|
KeyDallas,
|
|
KeyCyfral,
|
|
KeyMetakom,
|
|
}; |