mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
OS: Disable drivers for unused peripherals.
This commit is contained in:
parent
1eb561ab45
commit
c5230387df
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user