Implement flash

Fixes #5
This commit is contained in:
Benjamin Schaaf
2021-01-04 23:39:17 +11:00
parent 8248b7ab47
commit 24835cdc25
16 changed files with 302 additions and 17 deletions

8
src/flash.h Normal file
View File

@@ -0,0 +1,8 @@
typedef struct _MPFlash MPFlash;
MPFlash *mp_led_flash_from_path(const char *path);
MPFlash *mp_create_display_flash();
void mp_flash_free(MPFlash *flash);
void mp_flash_enable(MPFlash *flash);
void mp_flash_disable(MPFlash *flash);