Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MarlinKimbra
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
MarlinKimbra
Commits
12485790
Commit
12485790
authored
Feb 11, 2015
by
MagoKimbra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix statled pin
parent
11320d26
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
11 deletions
+20
-11
Configuration.h
MarlinKimbra/Configuration.h
+3
-3
Marlin_main.cpp
MarlinKimbra/Marlin_main.cpp
+17
-8
No files found.
MarlinKimbra/Configuration.h
View file @
12485790
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
#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_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_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 line
2
#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.
// 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.
// This allows the connection of wireless adapters (for instance) to non-default port pins.
...
...
MarlinKimbra/Marlin_main.cpp
View file @
12485790
...
@@ -557,6 +557,14 @@ void setup_photpin()
...
@@ -557,6 +557,14 @@ void setup_photpin()
#endif
#endif
}
}
void
setup_statledpin
()
{
#ifdef TEMP_STAT_LEDS
pinMode
(
STAT_LED_BLUE
,
OUTPUT
);
pinMode
(
STAT_LED_RED
,
OUTPUT
);
#endif
}
void
setup_laserbeampin
()
void
setup_laserbeampin
()
{
{
#ifdef LASERBEAM
#ifdef LASERBEAM
...
@@ -676,7 +684,8 @@ void setup()
...
@@ -676,7 +684,8 @@ void setup()
watchdog_init
();
watchdog_init
();
st_init
();
// Initialize stepper, this enables interrupts!
st_init
();
// Initialize stepper, this enables interrupts!
setup_photpin
();
setup_photpin
();
setup_laserbeampin
();
// Initialize Laserbeam
setup_statledpin
();
// Initialize stat led pin
setup_laserbeampin
();
// Initialize Laserbeam pin
servo_init
();
servo_init
();
lcd_init
();
lcd_init
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment