Skip to content

Commit

Permalink
Ignore first error flag after power up.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkbel committed Feb 7, 2019
1 parent 7b2204e commit 5c55b77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MM-control-01/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ void setup()
{
motion_set_idler(filament);
}
tmc2130_read_gstat(); //consume reset after power up

if (digitalRead(A1) == 1) isFilamentLoaded = true;

Expand Down

0 comments on commit 5c55b77

Please sign in to comment.