mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-21 02:03:18 +00:00
73e5379520
* api-hal: add api-hal-vibro * cli: add vibro cli command * cli: add cli commands for led and disp backlight
19 lines
266 B
C
19 lines
266 B
C
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <api-hal-resources.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Initialize vibro */
|
|
void api_hal_vibro_init();
|
|
|
|
/* Turn on/off vibro */
|
|
void api_hal_vibro_on(bool value);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|