AP_BoardConfig: added get_heater_duty_cycle()

This commit is contained in:
Andrew Tridgell 2021-02-08 14:43:57 +11:00 committed by Peter Barker
parent 5920c52285
commit 1097d04e5d
1 changed files with 5 additions and 0 deletions

View File

@ -189,6 +189,11 @@ public:
#if HAL_HAVE_IMU_HEATER
void set_imu_temp(float current_temp_c);
// heater duty cycle is as a percentage (0 to 100)
float get_heater_duty_cycle(void) const {
return heater.output;
}
#endif
private: