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
308d1035
Commit
308d1035
authored
Mar 23, 2015
by
MagoKimbra
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11 from simone97/patch-6
Added support for see the Power Consumption
parents
4c81e56a
8e9d23bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
Marlin.h
MarlinKimbra/Marlin.h
+6
-2
No files found.
MarlinKimbra/Marlin.h
View file @
308d1035
...
@@ -300,7 +300,7 @@ extern int EtoPPressure;
...
@@ -300,7 +300,7 @@ extern int EtoPPressure;
extern
unsigned
char
fanSpeedSoftPwm
;
extern
unsigned
char
fanSpeedSoftPwm
;
#endif
#endif
#if
def FILAMENT_SENSOR
#if
(defined(FILAMENT_SENSOR) && defined(FILWIDTH_PIN) && FILWIDTH_PIN >= 0)
extern
float
filament_width_nominal
;
//holds the theoretical filament diameter ie., 3.00 or 1.75
extern
float
filament_width_nominal
;
//holds the theoretical filament diameter ie., 3.00 or 1.75
extern
bool
filament_sensor
;
//indicates that filament sensor readings should control extrusion
extern
bool
filament_sensor
;
//indicates that filament sensor readings should control extrusion
extern
float
filament_width_meas
;
//holds the filament diameter as accurately measured
extern
float
filament_width_meas
;
//holds the filament diameter as accurately measured
...
@@ -310,6 +310,10 @@ extern unsigned char fanSpeedSoftPwm;
...
@@ -310,6 +310,10 @@ extern unsigned char fanSpeedSoftPwm;
extern
int
meas_delay_cm
;
//delay distance
extern
int
meas_delay_cm
;
//delay distance
#endif
#endif
#if (defined(POWER_CONSUMPTION) && defined(POWER_CONSUMPTION_PIN) && POWER_CONSUMPTION_PIN >= 0)
extern
unsigned
int
power_consumption_meas
;
//holds the power consumption as accurately measured
extern
unsigned
long
power_consumption_hour
;
//holds the power consumption per hour as accurately measured
#endif
#ifdef FWRETRACT
#ifdef FWRETRACT
extern
bool
autoretract_enabled
;
extern
bool
autoretract_enabled
;
extern
bool
retracted
[
EXTRUDERS
];
extern
bool
retracted
[
EXTRUDERS
];
...
@@ -350,4 +354,4 @@ void FirmwareTest();
...
@@ -350,4 +354,4 @@ void FirmwareTest();
extern
void
calculate_volumetric_multipliers
();
extern
void
calculate_volumetric_multipliers
();
#endif //__MARLIN_H
#endif //__MARLIN_H
\ No newline at end of file
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