mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-13 05:06:30 +04:00
[FL-1061] iButton save and load from sd card (#394)
* SD App: fix queue adresses * sd-filesystem: fix making path on file select event * ibutton: add key reading from sd card * ibutton: save ibutton key to sd card * ibutton: add deleting keys from sd card * ibutton: remove KeyStore from application * ibutton: make directory if necessary on key save Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com> Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -51,28 +51,5 @@ iButtonKeyType iButtonKey::get_key_type() {
|
||||
return type;
|
||||
}
|
||||
|
||||
iButtonKey::iButtonKey(
|
||||
iButtonKeyType _type,
|
||||
const char* _name,
|
||||
uint8_t d0,
|
||||
uint8_t d1,
|
||||
uint8_t d2,
|
||||
uint8_t d3,
|
||||
uint8_t d4,
|
||||
uint8_t d5,
|
||||
uint8_t d6,
|
||||
uint8_t d7) {
|
||||
type = _type;
|
||||
name = _name;
|
||||
data[0] = d0;
|
||||
data[1] = d1;
|
||||
data[2] = d2;
|
||||
data[3] = d3;
|
||||
data[4] = d4;
|
||||
data[5] = d5;
|
||||
data[6] = d6;
|
||||
data[7] = d7;
|
||||
}
|
||||
|
||||
iButtonKey::iButtonKey() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user