mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Periph: choose node stats - build files
Added - AP_Stat library and AP_STATS_ENABLED build options
This commit is contained in:
parent
03f7df39dd
commit
183352cdfe
@ -62,6 +62,7 @@ def build(bld):
|
|||||||
'AC_PID',
|
'AC_PID',
|
||||||
'AP_BLHeli',
|
'AP_BLHeli',
|
||||||
'AP_ESC_Telem',
|
'AP_ESC_Telem',
|
||||||
|
'AP_Stats'
|
||||||
]
|
]
|
||||||
bld.ap_stlib(
|
bld.ap_stlib(
|
||||||
name= 'AP_Periph_libs',
|
name= 'AP_Periph_libs',
|
||||||
|
@ -2782,6 +2782,10 @@ def add_apperiph_defaults(f):
|
|||||||
#define AP_ROBOTISSERVO_ENABLED 0
|
#define AP_ROBOTISSERVO_ENABLED 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef AP_STATS_ENABLED
|
||||||
|
#define AP_STATS_ENABLED 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* GPS Backends - we selectively turn backends on.
|
* GPS Backends - we selectively turn backends on.
|
||||||
* Note also that f103-GPS explicitly disables some of these backends.
|
* Note also that f103-GPS explicitly disables some of these backends.
|
||||||
|
Loading…
Reference in New Issue
Block a user