Skip to content

Instantly share code, notes, and snippets.

@zarya
Created October 5, 2013 09:07
Show Gist options
  • Save zarya/6838615 to your computer and use it in GitHub Desktop.
Save zarya/6838615 to your computer and use it in GitHub Desktop.
diff --git a/src/parameters.c b/src/parameters.c
index 87cb425..8c8a27c 100644
--- a/src/parameters.c
+++ b/src/parameters.c
@@ -265,8 +265,8 @@ void FLASH_PrintSettings(void)
usb_printf("; Heater 1 PWM Enable: \r\nM531 T0 E%d\r\n",pa.heater_pwm_en[0]);
usb_printf("; Heater 2 PWM Enable: \r\nM531 T1 E%d\r\n",pa.heater_pwm_en[1]);
- usb_printf("; Heater 1 Max pwm (range 0-255): \r\nM301 W%d\r\n",pa.heater_max_pwm[0]);
- usb_printf("; Heater 2 Max pwm (range 0-255): \r\nM301 W%d\r\n",pa.heater_max_pwm[1]);
+ usb_printf("; Heater 1 Max pwm (range 0-255): \r\nM301 T0 W%d\r\n",pa.heater_max_pwm[0]);
+ usb_printf("; Heater 2 Max pwm (range 0-255): \r\nM301 T1 W%d\r\n",pa.heater_max_pwm[1]);
usb_printf("; Heater 1 (S)lope, (I)ntercept:\r\nM301 T0 S%d I%d\r\n",pa.heater_slope[0],pa.h
usb_printf("; Heater 2 (S)lope, (I)ntercept:\r\nM301 T1 S%d I%d\r\n",pa.heater_slope[1],pa.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment