mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-16 09:12:39 +03:00
23 lines
316 B
C
23 lines
316 B
C
#pragma once
|
|
#include "main.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/** Init DWT */
|
|
void furi_hal_delay_init(void);
|
|
|
|
/**
|
|
* Delay in milliseconds
|
|
* @warning Cannot be used from ISR
|
|
*/
|
|
void delay(float milliseconds);
|
|
|
|
/** Delay in microseconds */
|
|
void delay_us(float microseconds);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|