Skip to content
Snippets Groups Projects
Commit c5230387 authored by Jared Boone's avatar Jared Boone
Browse files

OS: Disable drivers for unused peripherals.

parent 1eb561ab
No related branches found
No related tags found
No related merge requests found
......@@ -38,13 +38,11 @@
#define LPC43XX_I2C_USE_I2C0 TRUE
#define LPC43XX_I2C_USE_I2C1 TRUE
/*
* SPI driver system settings.
*/
#define LPC_SPI_USE_SSP0 TRUE
#define LPC_SPI_USE_SSP1 TRUE
......
......@@ -59,7 +59,6 @@ portapack::IO io {
lcd::ILI9341 display;
I2C i2c0(&I2CD0);
SPI ssp0(&SPID1);
SPI ssp1(&SPID2);
si5351::Si5351 clock_generator {
......
......@@ -39,7 +39,6 @@ extern portapack::IO io;
extern lcd::ILI9341 display;
extern I2C i2c0;
extern SPI ssp0;
extern SPI ssp1;
extern si5351::Si5351 clock_generator;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment