Commit 12485790 authored by MagoKimbra's avatar MagoKimbra

Fix statled pin

parent 11320d26
......@@ -25,7 +25,7 @@
#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
#define STRING_SPLASH_LINE1 "v" STRING_VERSION // will be shown during bootup in line 1
//#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line2
#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line 2
// SERIAL_PORT selects which serial port should be used for communication with the host.
// This allows the connection of wireless adapters (for instance) to non-default port pins.
......
......@@ -557,6 +557,14 @@ void setup_photpin()
#endif
}
void setup_statledpin()
{
#ifdef TEMP_STAT_LEDS
pinMode(STAT_LED_BLUE, OUTPUT);
pinMode(STAT_LED_RED, OUTPUT);
#endif
}
void setup_laserbeampin()
{
#ifdef LASERBEAM
......@@ -676,7 +684,8 @@ void setup()
watchdog_init();
st_init(); // Initialize stepper, this enables interrupts!
setup_photpin();
setup_laserbeampin(); // Initialize Laserbeam
setup_statledpin(); // Initialize stat led pin
setup_laserbeampin(); // Initialize Laserbeam pin
servo_init();
lcd_init();
......
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