Browse Source

fix code style

sbg
Mark Whitehorn 9 years ago committed by Lorenz Meier
parent
commit
4d7fe08069
  1. 10
      src/drivers/boards/px4fmu-v4/px4fmu_init.c

10
src/drivers/boards/px4fmu-v4/px4fmu_init.c

@ -301,12 +301,12 @@ __EXPORT int nsh_archinitialize(void) @@ -301,12 +301,12 @@ __EXPORT int nsh_archinitialize(void)
return -ENODEV;
}
/* Default SPI2 to 12MHz and de-assert the known chip selects.
* MS5611 has max SPI clock speed of 20MHz
*/
/* Default SPI2 to 12MHz and de-assert the known chip selects.
* MS5611 has max SPI clock speed of 20MHz
*/
// XXX start with 10.4 MHz and go up to 20 once validated
SPI_SETFREQUENCY(spi2, 12 * 1000 * 1000);
// XXX start with 10.4 MHz and go up to 20 once validated
SPI_SETFREQUENCY(spi2, 12 * 1000 * 1000);
SPI_SETBITS(spi2, 8);
SPI_SETMODE(spi2, SPIDEV_MODE3);
SPI_SELECT(spi2, SPIDEV_FLASH, false);

Loading…
Cancel
Save