Rename api-hal to furi-hal (#629)

This commit is contained in:
あく
2021-08-08 21:03:25 +03:00
committed by GitHub
parent 7907cb232b
commit 0a97d6913c
192 changed files with 2276 additions and 2212 deletions

View File

@@ -183,12 +183,12 @@ void KeyReader::switch_mode_if_needed() {
}
void KeyReader::start() {
api_hal_power_enable_otg();
furi_hal_power_enable_otg();
switch_to(ReadMode::CYFRAL_METAKOM);
}
void KeyReader::stop() {
api_hal_power_disable_otg();
furi_hal_power_disable_otg();
onewire_master->stop();
stop_comaparator();
}

View File

@@ -14,12 +14,12 @@ KeyWriter::Error KeyWriter::write(iButtonKey* key) {
}
void KeyWriter::start() {
api_hal_power_enable_otg();
furi_hal_power_enable_otg();
onewire_master->start();
}
void KeyWriter::stop() {
api_hal_power_disable_otg();
furi_hal_power_disable_otg();
onewire_master->stop();
}

View File

@@ -1,7 +1,7 @@
#include "pulse-sequencer.h"
#include <furi.h>
#include <callback-connector.h>
#include <api-hal-resources.h>
#include <furi-hal-resources.h>
void PulseSequencer::set_periods(
uint32_t* _periods,

View File

@@ -38,7 +38,7 @@ void iButtonApp::run(void* args) {
iButtonApp::iButtonApp()
: notification{"notification"} {
api_hal_power_insomnia_enter();
furi_hal_power_insomnia_enter();
key_worker = new KeyWorker(&ibutton_gpio);
}
@@ -49,7 +49,7 @@ iButtonApp::~iButtonApp() {
}
delete key_worker;
api_hal_power_insomnia_exit();
furi_hal_power_insomnia_exit();
}
iButtonAppViewManager* iButtonApp::get_view_manager() {

View File

@@ -1,5 +1,5 @@
#include <furi.h>
#include <api-hal.h>
#include <furi-hal.h>
#include <stdarg.h>
#include <cli/cli.h>
#include <lib/toolbox/args.h>