[FL-1293] iButton key rename (#479)
* 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>
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#pragma once
|
||||
#include <stdint.h>
|
||||
|
||||
static const uint8_t IBUTTON_KEY_SIZE = 8;
|
||||
static const uint8_t IBUTTON_KEY_DATA_SIZE = 8;
|
||||
static const uint8_t IBUTTON_KEY_NAME_SIZE = 64;
|
||||
|
||||
enum class iButtonKeyType : uint8_t {
|
||||
KeyDallas,
|
||||
|
Reference in New Issue
Block a user