Initial commit: Phase 1 skeleton
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// components/controller/app_task.h
|
||||
#pragma once
|
||||
|
||||
#include <freertos/FreeRTOS.h>
|
||||
#include <freertos/queue.h>
|
||||
#include "hal/led_stub.h"
|
||||
#include "hal/switch_stub.h"
|
||||
|
||||
// Application task parameters
|
||||
struct AppTaskParams {
|
||||
LedStub* led_driver;
|
||||
SwitchStub* switch_driver;
|
||||
QueueHandle_t midi_queue;
|
||||
};
|
||||
|
||||
// Application task function
|
||||
BaseType_t app_task(void* parameters);
|
||||
|
||||
// Application state management
|
||||
void app_process_midi_event(const MidiEvent& event);
|
||||
void app_process_switch_event(uint8_t switch_id, bool pressed);
|
||||
void app_initialize_config();
|
||||
Reference in New Issue
Block a user