[wip] controllers and display
This commit is contained in:
19
firmware/shared_libs/controllers/ctrl_app.c
Normal file
19
firmware/shared_libs/controllers/ctrl_app.c
Normal file
@@ -0,0 +1,19 @@
|
||||
#include "main.h"
|
||||
|
||||
#include "ctrl_app.h"
|
||||
|
||||
static GEN_fg_t func_gen[3];
|
||||
static GEN_pwm_t pwm_gen[3];
|
||||
|
||||
const static GENERATOR_t generators[CHANNEL_MAX] = {
|
||||
{.gen_type = GEN_FG_TYPE, .gen = &func_gen[0]},
|
||||
{.gen_type = GEN_FG_TYPE, .gen = &func_gen[1]},
|
||||
{.gen_type = GEN_FG_TYPE, .gen = &func_gen[2]},
|
||||
{.gen_type = GEN_PWM_TYPE, .gen = &pwm_gen[0]},
|
||||
{.gen_type = GEN_PWM_TYPE, .gen = &pwm_gen[1]},
|
||||
{.gen_type = GEN_PWM_TYPE, .gen = &pwm_gen[2]},
|
||||
};
|
||||
|
||||
void APP_init(APP_data_t *app_data)
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user