HAL_ChibiOS: don't init serial 1 and 3

these should not be treated as special. Initialising them early just
wastes memory if the end up not being used
This commit is contained in:
Andrew Tridgell 2020-12-11 11:55:18 +11:00
parent 23a9a14d64
commit bf546f363d

View File

@ -202,8 +202,6 @@ static void main_loop()
ChibiOS::SPIDevice::test_clock_freq();
#endif
hal.serial(3)->begin(38400);
hal.serial(1)->begin(57600);
hal.analogin->init();
hal.scheduler->init();