unleashed-firmware/applications/ibutton/scene/ibutton-scene-add-value.h
gornekich 4b7d9b79a9
[FL-1748] NFC, iButton edit fix (#680)
* nfc: fix edit UID without confirmation
* ibutton: fix key edit
* nfc: fix nfc uid edition
* nfc: fix structure type name
2021-09-02 12:28:40 +03:00

14 lines
393 B
C++

#pragma once
#include "ibutton-scene-generic.h"
#include "../ibutton-key.h"
class iButtonSceneAddValue : public iButtonScene {
public:
void on_enter(iButtonApp* app) final;
bool on_event(iButtonApp* app, iButtonEvent* event) final;
void on_exit(iButtonApp* app) final;
private:
void byte_input_callback(void* context);
uint8_t new_key_data[IBUTTON_KEY_DATA_SIZE] = {};
};