Revert "APM1: Delay serial3 init to not brick Xbee radios"
This reverts commit 25d14a9d6a4a1ea60eb78485296298c98c1595d0.
This commit is contained in:
parent
7a99160ea2
commit
a4834b5219
@ -49,6 +49,11 @@ Board_APM1::Board_APM1(mode_e mode, MAV_TYPE vehicle, options_t options) : AP_Bo
|
||||
debug = &Serial;
|
||||
debug->println_P(PSTR("initialized debug port"));
|
||||
|
||||
// gcs
|
||||
Serial3.begin(telemBaud, 128, 128);
|
||||
gcsPort = &Serial3;
|
||||
gcsPort->println_P(PSTR("initialized gcs port"));
|
||||
|
||||
// hil
|
||||
Serial1.begin(hilBaud, 128, 128);
|
||||
hilPort = &Serial1;
|
||||
@ -174,11 +179,6 @@ Board_APM1::Board_APM1(mode_e mode, MAV_TYPE vehicle, options_t options) : AP_Bo
|
||||
imu = new AP_IMU_INS(ins, k_sensorCalib);
|
||||
imu->init(IMU::WARM_START,delay,scheduler);
|
||||
debug->println_P(PSTR("setup completed"));
|
||||
|
||||
// gcs
|
||||
Serial3.begin(telemBaud, 128, 128);
|
||||
gcsPort = &Serial3;
|
||||
gcsPort->println_P(PSTR("initialized gcs port"));
|
||||
}
|
||||
|
||||
} // namespace apo
|
||||
|
Loading…
Reference in New Issue
Block a user