HAL_SITL: Fixed default PWMs for blimp

This commit is contained in:
Andrew Tridgell 2021-08-06 14:09:40 +10:00
parent 608f316698
commit f77e64ac83

View File

@ -546,6 +546,11 @@ void SITL_State::_parse_command_line(int argc, char * const argv[])
for(uint8_t i = 0; i < 8; i++) {
pwm_input[i] = 1500;
}
} else if (strcmp(SKETCH, "Blimp") == 0) {
_vehicle = Blimp;
for(uint8_t i = 0; i < 8; i++) {
pwm_input[i] = 1500;
}
} else {
_vehicle = ArduPlane;
if (_framerate == 0) {