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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
marlin-anet-a8
Commits
fce150f0
Commit
fce150f0
authored
Nov 2, 2018
by
Scott Lahteine
Browse files
Options
Downloads
Patches
Plain Diff
inline static => static inline
parent
323c0883
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Marlin/src/feature/Max7219_Debug_LEDs.h
+1
-1
1 addition, 1 deletion
Marlin/src/feature/Max7219_Debug_LEDs.h
Marlin/src/feature/runout.h
+3
-3
3 additions, 3 deletions
Marlin/src/feature/runout.h
with
4 additions
and
4 deletions
Marlin/src/feature/Max7219_Debug_LEDs.h
+
1
−
1
View file @
fce150f0
...
...
@@ -96,7 +96,7 @@ public:
static
void
send
(
const
uint8_t
reg
,
const
uint8_t
data
);
// Refresh all units
inline
static
void
refresh
()
{
for
(
uint8_t
i
=
0
;
i
<
8
;
i
++
)
refresh_line
(
i
);
}
static
inline
void
refresh
()
{
for
(
uint8_t
i
=
0
;
i
<
8
;
i
++
)
refresh_line
(
i
);
}
// Update a single native line on all units
static
void
refresh_line
(
const
uint8_t
line
);
...
...
...
...
This diff is collapsed.
Click to expand it.
Marlin/src/feature/runout.h
+
3
−
3
View file @
fce150f0
...
...
@@ -59,17 +59,17 @@ class TFilamentSensor : public FilamentSensorBase {
sensor
.
setup
();
}
inline
static
void
reset
()
{
static
inline
void
reset
()
{
filament_ran_out
=
false
;
response
.
reset
();
}
// The sensor calls this method when filament is present
inline
static
void
filament_present
(
const
uint8_t
extruder
)
{
static
inline
void
filament_present
(
const
uint8_t
extruder
)
{
response
.
filament_present
(
extruder
);
}
inline
static
void
block_complete
(
const
block_t
*
b
)
{
static
inline
void
block_complete
(
const
block_t
*
b
)
{
response
.
block_complete
(
b
);
sensor
.
block_complete
(
b
);
}
...
...
...
...
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