Skip to content

Commit

Permalink
Format CHOPPER_TIMING as an array
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead authored and teemuatlut committed Feb 23, 2020
1 parent 9e56b6e commit f44854d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,13 @@ void setup() {
Serial.print(F(" = "));
Serial.println(config.hysteresis_end + config.hysteresis_start);
Serial.println(F("Your configuration parameters in Marlin are:"));
Serial.print(F("#define CHOPPER_TIMING "));
Serial.print(F("#define CHOPPER_TIMING { "));
Serial.print(config.off_time);
Serial.print(F(" "));
Serial.print(F(", "));
Serial.print(config.hysteresis_end);
Serial.print(F(" "));
Serial.print(F(", "));
Serial.print(config.hysteresis_start);
Serial.println(F(" }"));
}

void initPins() {
Expand All @@ -194,4 +195,4 @@ void initPins() {
pinMode(MISO, INPUT_PULLUP);
}

void loop() {}
void loop() {}

0 comments on commit f44854d

Please sign in to comment.