Commit c6ae23a5 authored by MagoKimbra's avatar MagoKimbra

Add Splash Screen duration

parent 90cfaf7b
......@@ -408,6 +408,9 @@ your extruder heater takes 2 minutes to hit the target on heating.
// #define LCD_SCREEN_ROT_180
// #define LCD_SCREEN_ROT_270
// SPLASH SCREEN duration in millisecond
#define SPLASH_SCREEN_DURATION 2000 // Millisecond
/** Display Voltage Logic Selector on Alligator Board
0 = Voltage level 3.3V
1 = Voltage level 5V
......
......@@ -713,7 +713,7 @@ void setup() {
servo_init();
lcd_init();
_delay_ms(1000); // wait 1sec to display the splash screen
_delay_ms(SPLASH_SCREEN_DURATION); // wait to display the splash screen
#if HAS_CONTROLLERFAN
SET_OUTPUT(CONTROLLERFAN_PIN); //Set pin used for driver cooling fan
......
......@@ -209,6 +209,14 @@
*/
#define HAS_LCD_BUZZ (defined(ULTRALCD) || (defined(BEEPER) && BEEPER >= 0) || defined(LCD_USE_I2C_BUZZER))
/**
* SPLASH_SCREEN_DURATION for no DOGLCD display
*/
#ifndef DOGLCD
#undef SPLASH_SCREEN_DURATION
#define SPLASH_SCREEN_DURATION 500
#endif
#else // CONFIGURATION_LCD
#define CONDITIONALS_H
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment