diff options
author | あく <alleteam@gmail.com> | 2021-08-08 21:03:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-08 21:03:25 +0300 |
commit | 0a97d6913c1a48156e3e2d8f339e027a003f948f (patch) | |
tree | d02cd7895df05654c4e106a28055333fd976228a /applications/lfrfid-debug | |
parent | 7907cb232bda5af7c30c79c67ab353b2cefe57c8 (diff) |
Rename api-hal to furi-hal (#629)
Diffstat (limited to 'applications/lfrfid-debug')
-rw-r--r-- | applications/lfrfid-debug/lfrfid-debug-app.h | 2 | ||||
-rw-r--r-- | applications/lfrfid-debug/scene/lfrfid-debug-app-scene-tune.cpp | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/applications/lfrfid-debug/lfrfid-debug-app.h b/applications/lfrfid-debug/lfrfid-debug-app.h index fab9fa9a..e9494719 100644 --- a/applications/lfrfid-debug/lfrfid-debug-app.h +++ b/applications/lfrfid-debug/lfrfid-debug-app.h @@ -1,6 +1,6 @@ #pragma once #include <furi.h> -#include <api-hal.h> +#include <furi-hal.h> #include <generic-scene.hpp> #include <scene-controller.hpp> diff --git a/applications/lfrfid-debug/scene/lfrfid-debug-app-scene-tune.cpp b/applications/lfrfid-debug/scene/lfrfid-debug-app-scene-tune.cpp index 1d5c885d..fea0e586 100644 --- a/applications/lfrfid-debug/scene/lfrfid-debug-app-scene-tune.cpp +++ b/applications/lfrfid-debug/scene/lfrfid-debug-app-scene-tune.cpp @@ -3,9 +3,9 @@ void LfRfidDebugAppSceneTune::on_enter(LfRfidDebugApp* app, bool need_restore) { app->view_controller.switch_to<LfRfidViewTuneVM>(); - api_hal_rfid_pins_read(); - api_hal_rfid_tim_read(125000, 0.5); - api_hal_rfid_tim_read_start(); + furi_hal_rfid_pins_read(); + furi_hal_rfid_tim_read(125000, 0.5); + furi_hal_rfid_tim_read_start(); } bool LfRfidDebugAppSceneTune::on_event(LfRfidDebugApp* app, LfRfidDebugApp::Event* event) { @@ -14,15 +14,15 @@ bool LfRfidDebugAppSceneTune::on_event(LfRfidDebugApp* app, LfRfidDebugApp::Even LfRfidViewTuneVM* tune = app->view_controller; if(tune->is_dirty()) { - api_hal_rfid_set_read_period(tune->get_ARR()); - api_hal_rfid_set_read_pulse(tune->get_CCR()); + furi_hal_rfid_set_read_period(tune->get_ARR()); + furi_hal_rfid_set_read_pulse(tune->get_CCR()); } return consumed; } void LfRfidDebugAppSceneTune::on_exit(LfRfidDebugApp* app) { - api_hal_rfid_tim_read_stop(); - api_hal_rfid_tim_reset(); - api_hal_rfid_pins_reset(); + furi_hal_rfid_tim_read_stop(); + furi_hal_rfid_tim_reset(); + furi_hal_rfid_pins_reset(); }
\ No newline at end of file |