diff options
author | its your bedtime <23366927+itsyourbedtime@users.noreply.github.com> | 2021-06-22 12:56:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-22 12:56:57 +0300 |
commit | 6ec9c6cc498cbbf2f1be776ad0629633021a3e57 (patch) | |
tree | 65b28c28e467d0fac3212706fb765eb1fc131c00 /applications/ibutton/helpers | |
parent | 8605f53c28976e8a9dd80e80d54bd1adc9d978f7 (diff) |
[FL-1404] iButton long names fix (#528)
* ibutton: long names partial fix\
* ibutton: limit max filename length to 22 chars
* elwrapping long names to a new line
* Proper m-string size usage
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
Diffstat (limited to 'applications/ibutton/helpers')
-rw-r--r-- | applications/ibutton/helpers/key-info.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/ibutton/helpers/key-info.h b/applications/ibutton/helpers/key-info.h index 1eaf54c3..20ee7e1d 100644 --- a/applications/ibutton/helpers/key-info.h +++ b/applications/ibutton/helpers/key-info.h @@ -2,7 +2,7 @@ #include <stdint.h> static const uint8_t IBUTTON_KEY_DATA_SIZE = 8; -static const uint8_t IBUTTON_KEY_NAME_SIZE = 64; +static const uint8_t IBUTTON_KEY_NAME_SIZE = 22; enum class iButtonKeyType : uint8_t { KeyDallas, |