diff options
Diffstat (limited to '4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c')
-rw-r--r-- | 4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c b/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c index eb023a1..a862fbd 100644 --- a/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c +++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c @@ -41,12 +41,11 @@ afb_dynapi *AFB_default; // Config Section definition static CtlSectionT ctrlSections[] = { - [CTL_SECTION_PLUGIN] = {.key="plugins" , .loadCB= PluginConfig}, - [CTL_SECTION_ONLOAD] = {.key="onload" , .loadCB= OnloadConfig}, - [CTL_SECTION_CONTROL] = {.key="controls", .loadCB= ControlConfig}, - [CTL_SECTION_EVENT] = {.key="events" , .loadCB= EventConfig}, - - [CTL_SECTION_ENDTAG] = {.key=NULL} + {.key="plugins" , .loadCB= PluginConfig}, + {.key="onload" , .loadCB= OnloadConfig}, + {.key="controls", .loadCB= ControlConfig}, + {.key="events" , .loadCB= EventConfig}, + {.key=NULL} }; /******************************************************************************* |