Skip to content

Commit

Permalink
AP_Motors: Add AP_Motors_config.h for enabling motors in AP_Motors li…
Browse files Browse the repository at this point in the history
…brary
  • Loading branch information
loki077 committed Aug 2, 2024
1 parent 369c190 commit c335908
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions libraries/AP_Motors/AP_Motors.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
#include "AP_Motors6DOF.h"
#include "AP_MotorsMatrix_6DoF_Scripting.h"
#include "AP_MotorsMatrix_Scripting_Dynamic.h"
#include "AP_Motors_config.h"
5 changes: 5 additions & 0 deletions libraries/AP_Motors/AP_Motors_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#include <AP_HAL/AP_HAL_Boards.h>

#ifndef AP_MOTORS_ENABLED
#define AP_MOTORS_ENABLED 1
#endif

0 comments on commit c335908

Please sign in to comment.