Nfc: switch to HAL ticks. ApiHal: small cleanup and refactoring. (#609)

This commit is contained in:
あく
2021-07-28 11:45:42 +03:00
committed by GitHub
parent 4c1ac2a13d
commit 1c58de24f5
21 changed files with 36 additions and 41 deletions

View File

@@ -4,6 +4,8 @@
#include <stm32wbxx_ll_gpio.h>
#include <stm32wbxx_ll_usart.h>
#include <furi.h>
volatile bool api_hal_console_alive = false;
void api_hal_console_init() {
@@ -34,6 +36,8 @@ void api_hal_console_init() {
while(!LL_USART_IsActiveFlag_TEACK(USART1)) ;
api_hal_console_alive = true;
FURI_LOG_I("FuriHalConsole", "Init OK");
}
void api_hal_console_tx(const uint8_t* buffer, size_t buffer_size) {