mirror of
https://github.com/Djeeberjr/fw-anwesenheit.git
synced 2025-09-13 10:04:18 +00:00
added todo
This commit is contained in:
parent
fe90ca9aa9
commit
dcb4b14854
@ -21,6 +21,8 @@ pub enum FeedbackState {
|
|||||||
|
|
||||||
const LED_LEVEL: u8 = 255;
|
const LED_LEVEL: u8 = 255;
|
||||||
|
|
||||||
|
//TODO ERROR STATE: 1 Blink = unknows error, 3 Blink = no sd card
|
||||||
|
|
||||||
#[embassy_executor::task]
|
#[embassy_executor::task]
|
||||||
pub async fn feedback_task(mut led: SmartLedsAdapterAsync<ConstChannelAccess<esp_hal::rmt::Tx, 0>, { init::hardware::LED_BUFFER_SIZE }>, buzzer: peripherals::GPIO21<'static>) {
|
pub async fn feedback_task(mut led: SmartLedsAdapterAsync<ConstChannelAccess<esp_hal::rmt::Tx, 0>, { init::hardware::LED_BUFFER_SIZE }>, buzzer: peripherals::GPIO21<'static>) {
|
||||||
debug!("Starting feedback task");
|
debug!("Starting feedback task");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user