mirror of https://github.com/MLXXXp/Arduboy2.git
rename bootLCD to bootOLED
This commit is contained in:
parent
fa9d47310b
commit
a92747f38d
|
@ -95,7 +95,7 @@ void ArduboyCore::boot()
|
||||||
|
|
||||||
SPI.begin();
|
SPI.begin();
|
||||||
bootPins();
|
bootPins();
|
||||||
bootLCD();
|
bootOLED();
|
||||||
|
|
||||||
#ifdef SAFE_MODE
|
#ifdef SAFE_MODE
|
||||||
if (buttonsState() == (LEFT_BUTTON | UP_BUTTON))
|
if (buttonsState() == (LEFT_BUTTON | UP_BUTTON))
|
||||||
|
@ -137,7 +137,7 @@ void ArduboyCore::bootPins()
|
||||||
digitalWrite(RST, HIGH); // bring out of reset
|
digitalWrite(RST, HIGH); // bring out of reset
|
||||||
}
|
}
|
||||||
|
|
||||||
void ArduboyCore::bootLCD()
|
void ArduboyCore::bootOLED()
|
||||||
{
|
{
|
||||||
// setup the ports we need to talk to the OLED
|
// setup the ports we need to talk to the OLED
|
||||||
csport = portOutputRegister(digitalPinToPort(CS));
|
csport = portOutputRegister(digitalPinToPort(CS));
|
||||||
|
|
|
@ -288,7 +288,7 @@ protected:
|
||||||
void static inline safeMode() __attribute__((always_inline));
|
void static inline safeMode() __attribute__((always_inline));
|
||||||
|
|
||||||
// internals
|
// internals
|
||||||
void static inline bootLCD() __attribute__((always_inline));
|
void static inline bootOLED() __attribute__((always_inline));
|
||||||
void static inline bootPins() __attribute__((always_inline));
|
void static inline bootPins() __attribute__((always_inline));
|
||||||
void static inline slowCPU() __attribute__((always_inline));
|
void static inline slowCPU() __attribute__((always_inline));
|
||||||
void static inline saveMuchPower(); __attribute__((always_inline));
|
void static inline saveMuchPower(); __attribute__((always_inline));
|
||||||
|
|
Loading…
Reference in New Issue