Skip to content

Commit

Permalink
Merge pull request #1378 from IMRCLab/bugfix_lee_order
Browse files Browse the repository at this point in the history
Lee controller: fix inconsistend order h/c file
  • Loading branch information
knmcguire authored May 31, 2024
2 parents a25e8fb + 77d9afb commit 4a35997
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/src/controller/controller.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ static ControllerFcns controllerFunctions[] = {
{.init = controllerMellingerFirmwareInit, .test = controllerMellingerFirmwareTest, .update = controllerMellingerFirmware, .name = "Mellinger"},
{.init = controllerINDIInit, .test = controllerINDITest, .update = controllerINDI, .name = "INDI"},
{.init = controllerBrescianiniInit, .test = controllerBrescianiniTest, .update = controllerBrescianini, .name = "Brescianini"},
{.init = controllerLeeFirmwareInit, .test = controllerLeeFirmwareTest, .update = controllerLeeFirmware, .name = "Lee"},
#ifdef CONFIG_CONTROLLER_OOT
{.init = controllerOutOfTreeInit, .test = controllerOutOfTreeTest, .update = controllerOutOfTree, .name = "OutOfTree"},
#endif
{.init = controllerLeeFirmwareInit, .test = controllerLeeFirmwareTest, .update = controllerLeeFirmware, .name = "Lee"},
};


Expand All @@ -55,6 +55,8 @@ void controllerInit(ControllerType controller) {
#define CONTROLLER ControllerTypeMellinger
#elif defined(CONFIG_CONTROLLER_BRESCIANINI)
#define CONTROLLER ControllerTypeBrescianini
#elif defined(CONFIG_CONTROLLER_LEE)
#define CONTROLLER ControllerTypeLee
#else
#define CONTROLLER ControllerTypeAutoSelect
#endif
Expand Down

0 comments on commit 4a35997

Please sign in to comment.