1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Delay osd initialization, remove floating point pids from osd

This commit is contained in:
Evgeny Sychov 2016-06-08 01:18:33 -07:00
parent a1a71d68ac
commit a38a2da74f
4 changed files with 9 additions and 54 deletions

View file

@ -57,6 +57,7 @@ void max7456_init(uint8_t system) {
//Minimum spi clock period for max7456 is 100ns (10Mhz)
spiSetDivisor(MAX7456_SPI_INSTANCE, SPI_9MHZ_CLOCK_DIVIDER);
delay(1000);
// force soft reset on Max7456
ENABLE_MAX7456;
max7456_send(VM0_reg, max7456_reset);