Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
marlin-anet-a8
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
marlin-anet-a8
Commits
c5f138ea
Commit
c5f138ea
authored
10 years ago
by
Bo Herrmannsen
Browse files
Options
Downloads
Plain Diff
Merge pull request #1291 from alhirzel/Development
Define analogInputToDigitalPin only if needed
parents
efca4afa
f36fd3dd
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Marlin/Marlin.h
+9
-5
9 additions, 5 deletions
Marlin/Marlin.h
with
9 additions
and
5 deletions
Marlin/Marlin.h
+
9
−
5
View file @
c5f138ea
...
...
@@ -30,7 +30,10 @@
# include "Arduino.h"
#else
# include "WProgram.h"
//Arduino < 1.0.0 does not define this, so we need to do it ourselves
#endif
// Arduino < 1.0.0 does not define this, so we need to do it ourselves
#ifndef analogInputToDigitalPin
# define analogInputToDigitalPin(p) ((p) + A0)
#endif
...
...
@@ -240,9 +243,9 @@ extern unsigned char fanSpeedSoftPwm;
#endif
#ifdef FILAMENT_SENSOR
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
float
filament_width_meas
;
//holds the filament diameter as accurately measured
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
float
filament_width_meas
;
//holds the filament diameter as accurately measured
extern
signed
char
measurement_delay
[];
//ring buffer to delay measurement
extern
int
delay_index1
,
delay_index2
;
//index into ring buffer
extern
float
delay_dist
;
//delay distance counter
...
...
@@ -269,4 +272,5 @@ extern void digipot_i2c_init();
#endif
extern
void
calculate_volumetric_multipliers
();
\ No newline at end of file
extern
void
calculate_volumetric_multipliers
();
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment