mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-21 10:13:10 +00: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
No EOL
218 B
C
11 lines
No EOL
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,
|
|
}; |