[FL-2393][FL-2381] iButton, OneWire: move to plain C (#1068)
* iButton: getting started on the worker concept * Hal delay: added global instructions_per_us variable * iButton: one wire slave * iButton: ibutton key setter * iButton: one wire host, use ibutton_hal * iButton\RFID: common pulse decoder concept * iButton: cyfral decoder * iButton: worker thread concept * iButton: metakom decoder * iButton: write key through worker * iButton: worker mode holder * iButton: worker improvements * iButton: Cyfral encoder * iButton: Metakom encoder * lib: pulse protocol helpers * iButton: Metakom decoder * iButton: Cyfral decoder * iButton worker: separate modes * iButton: libs documentation * HAL: iButton gpio modes * iButton worker: rename modes file * iButton worker, hal: move to LL * iButton CLI: worker for reading and emulation commands * iButton HAL: correct init and emulation sequence * iButton cli: moved to plain C * iButton: move to worker, small step to plain C * Libs, one wire: move to plain C * Libs: added forgotten files to compilation * iButton writer: get rid of manual disable/enable irq
This commit is contained in:
@@ -22,17 +22,10 @@
|
||||
#include "scene/ibutton_scene_select_key.h"
|
||||
#include "scene/ibutton_scene_add_type.h"
|
||||
#include "scene/ibutton_scene_add_value.h"
|
||||
|
||||
#include "helpers/key_worker.h"
|
||||
|
||||
#include "one_wire_master.h"
|
||||
#include "maxim_crc.h"
|
||||
#include "ibutton_key.h"
|
||||
|
||||
#include <one_wire/ibutton/ibutton_worker.h>
|
||||
#include <notification/notification_messages.h>
|
||||
#include <storage/storage.h>
|
||||
#include <dialogs/dialogs.h>
|
||||
|
||||
#include <record_controller.hpp>
|
||||
|
||||
class iButtonApp {
|
||||
@@ -75,7 +68,7 @@ public:
|
||||
Scene get_previous_scene();
|
||||
|
||||
const GpioPin* get_ibutton_pin();
|
||||
KeyWorker* get_key_worker();
|
||||
iButtonWorker* get_key_worker();
|
||||
iButtonKey* get_key();
|
||||
|
||||
void notify_green_blink();
|
||||
@@ -127,9 +120,8 @@ private:
|
||||
{Scene::SceneAddValue, new iButtonSceneAddValue()},
|
||||
};
|
||||
|
||||
KeyWorker* key_worker;
|
||||
|
||||
iButtonKey key;
|
||||
iButtonWorker* key_worker;
|
||||
iButtonKey* key;
|
||||
|
||||
RecordController<NotificationApp> notification;
|
||||
RecordController<Storage> storage;
|
||||
|
||||
Reference in New Issue
Block a user