AP_Scripting: proximity bindings depend upon HAL_PROXIMITY_ENABLED

This commit is contained in:
Randy Mackay 2021-03-26 09:41:03 +09:00
parent 8a5b5897f0
commit a17086816f
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ singleton AP_Notify method handle_rgb void uint8_t 0 UINT8_MAX uint8_t 0 UINT8_M
include AP_Proximity/AP_Proximity.h include AP_Proximity/AP_Proximity.h
singleton AP_Proximity depends HAL_PROXIMITY_ENABLED == 1
singleton AP_Proximity alias proximity singleton AP_Proximity alias proximity
singleton AP_Proximity method get_status uint8_t singleton AP_Proximity method get_status uint8_t
singleton AP_Proximity method num_sensors uint8_t singleton AP_Proximity method num_sensors uint8_t