Skip to content

Commit

Permalink
add burn sketches
Browse files Browse the repository at this point in the history
  • Loading branch information
RobTillaart committed Jun 18, 2023
1 parent 7e7409c commit 108e1a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/AS5600_burn_zpos/AS5600_burn_zpos.ino
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void burn_zpos()

bool OK = true;
OK = OK && as5600.setZPosition(ZPOS);
OK = OK && (ZPOS = as5600.getZPosition();
OK = OK && (ZPOS == as5600.getZPosition());
if (OK == false)
{
Serial.println("\nERROR: in settings, burn_zpos() cancelled.");
Expand Down

0 comments on commit 108e1a2

Please sign in to comment.