Browse Source

🐛 Spellcheck comments (#22496)

codespell -q 3 --builtin=clear,rare,informal,code -S ./Marlin/src/lcd/language -L alo,amin,endcode,stdio,uint
luzpaz 3 years ago
parent
commit
afca6e7459
No account linked to committer's email address
100 changed files with 146 additions and 146 deletions
  1. 1
    1
      Marlin/Configuration.h
  2. 1
    1
      Marlin/Configuration_adv.h
  3. 1
    1
      Marlin/Makefile
  4. 1
    1
      Marlin/src/HAL/AVR/fastio.h
  5. 1
    1
      Marlin/src/HAL/DUE/HAL_SPI.cpp
  6. 1
    1
      Marlin/src/HAL/DUE/usb/arduino_due_x.h
  7. 3
    3
      Marlin/src/HAL/DUE/usb/udd.h
  8. 2
    2
      Marlin/src/HAL/DUE/usb/udi_cdc.c
  9. 1
    1
      Marlin/src/HAL/DUE/usb/udi_cdc_conf.h
  10. 5
    5
      Marlin/src/HAL/DUE/usb/udi_msc.c
  11. 23
    23
      Marlin/src/HAL/DUE/usb/uotghs_device_due.c
  12. 1
    1
      Marlin/src/HAL/DUE/usb/usb_protocol_msc.h
  13. 1
    1
      Marlin/src/HAL/LINUX/hardware/Heater.cpp
  14. 1
    1
      Marlin/src/HAL/LINUX/include/pinmapping.h
  15. 1
    1
      Marlin/src/HAL/SAMD51/HAL.cpp
  16. 1
    1
      Marlin/src/HAL/SAMD51/fastio.h
  17. 1
    1
      Marlin/src/HAL/SAMD51/timers.cpp
  18. 1
    1
      Marlin/src/HAL/STM32/HAL_MinSerial.cpp
  19. 1
    1
      Marlin/src/HAL/STM32/Servo.cpp
  20. 1
    1
      Marlin/src/HAL/STM32/eeprom_flash.cpp
  21. 2
    2
      Marlin/src/HAL/STM32/msc_sd.cpp
  22. 1
    1
      Marlin/src/HAL/STM32F1/HAL.cpp
  23. 2
    2
      Marlin/src/HAL/STM32F1/SPI.cpp
  24. 3
    3
      Marlin/src/HAL/STM32F1/onboard_sd.h
  25. 1
    1
      Marlin/src/HAL/STM32F1/timers.h
  26. 1
    1
      Marlin/src/HAL/TEENSY31_32/HAL_SPI.cpp
  27. 1
    1
      Marlin/src/HAL/TEENSY35_36/HAL_SPI.cpp
  28. 1
    1
      Marlin/src/HAL/TEENSY40_41/HAL_SPI.cpp
  29. 1
    1
      Marlin/src/HAL/shared/backtrace/unwarm.h
  30. 1
    1
      Marlin/src/HAL/shared/backtrace/unwarmbytab.h
  31. 1
    1
      Marlin/src/HAL/shared/backtrace/unwarmmem.cpp
  32. 1
    1
      Marlin/src/HAL/shared/backtrace/unwarmmem.h
  33. 1
    1
      Marlin/src/HAL/shared/backtrace/unwinder.cpp
  34. 1
    1
      Marlin/src/HAL/shared/backtrace/unwinder.h
  35. 1
    1
      Marlin/src/HAL/shared/backtrace/unwmemaccess.h
  36. 1
    1
      Marlin/src/HAL/shared/cpu_exception/exception_arm.cpp
  37. 1
    1
      Marlin/src/core/macros.h
  38. 1
    1
      Marlin/src/core/serial_hook.h
  39. 1
    1
      Marlin/src/feature/bedlevel/hilbert_curve.cpp
  40. 3
    3
      Marlin/src/feature/dac/dac_mcp4728.cpp
  41. 1
    1
      Marlin/src/feature/encoder_i2c.cpp
  42. 1
    1
      Marlin/src/gcode/calibrate/G76_M192_M871.cpp
  43. 2
    2
      Marlin/src/gcode/config/M43.cpp
  44. 1
    1
      Marlin/src/gcode/feature/L6470/M906.cpp
  45. 1
    1
      Marlin/src/gcode/feature/L6470/M916-918.cpp
  46. 1
    1
      Marlin/src/inc/Conditionals_LCD.h
  47. 1
    1
      Marlin/src/lcd/HD44780/marlinui_HD44780.cpp
  48. 3
    3
      Marlin/src/lcd/TFTGLCD/marlinui_TFTGLCD.cpp
  49. 1
    1
      Marlin/src/lcd/dogm/status_screen_lite_ST7920.cpp
  50. 1
    1
      Marlin/src/lcd/dogm/u8g_dev_st7920_128x64_HAL.cpp
  51. 3
    3
      Marlin/src/lcd/extui/anycubic_chiron/chiron_tft.cpp
  52. 1
    1
      Marlin/src/lcd/extui/dgus/DGUSDisplay.h
  53. 1
    1
      Marlin/src/lcd/extui/dgus/fysetc/DGUSDisplayDef.cpp
  54. 1
    1
      Marlin/src/lcd/extui/dgus/fysetc/DGUSDisplayDef.h
  55. 1
    1
      Marlin/src/lcd/extui/dgus/fysetc/DGUSScreenHandler.cpp
  56. 1
    1
      Marlin/src/lcd/extui/dgus/fysetc/DGUSScreenHandler.h
  57. 1
    1
      Marlin/src/lcd/extui/dgus/hiprecy/DGUSDisplayDef.cpp
  58. 1
    1
      Marlin/src/lcd/extui/dgus/hiprecy/DGUSDisplayDef.h
  59. 1
    1
      Marlin/src/lcd/extui/dgus/hiprecy/DGUSScreenHandler.cpp
  60. 1
    1
      Marlin/src/lcd/extui/dgus/hiprecy/DGUSScreenHandler.h
  61. 1
    1
      Marlin/src/lcd/extui/dgus/mks/DGUSDisplayDef.cpp
  62. 1
    1
      Marlin/src/lcd/extui/dgus/mks/DGUSDisplayDef.h
  63. 1
    1
      Marlin/src/lcd/extui/dgus/mks/DGUSScreenHandler.cpp
  64. 1
    1
      Marlin/src/lcd/extui/dgus/mks/DGUSScreenHandler.h
  65. 1
    1
      Marlin/src/lcd/extui/dgus/origin/DGUSDisplayDef.cpp
  66. 1
    1
      Marlin/src/lcd/extui/dgus/origin/DGUSDisplayDef.h
  67. 1
    1
      Marlin/src/lcd/extui/dgus/origin/DGUSScreenHandler.cpp
  68. 1
    1
      Marlin/src/lcd/extui/dgus/origin/DGUSScreenHandler.h
  69. 1
    1
      Marlin/src/lcd/extui/ftdi_eve_touch_ui/archim2-flash/flash_storage.cpp
  70. 1
    1
      Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/basic/commands.cpp
  71. 1
    1
      Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/basic/commands.h
  72. 2
    2
      Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/command_processor.h
  73. 1
    1
      Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/event_loop.cpp
  74. 1
    1
      Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/poly_ui.h
  75. 1
    1
      Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/polygon.h
  76. 1
    1
      Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/screen_types.h
  77. 1
    1
      Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/tiny_timer.h
  78. 1
    1
      Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/svg2cpp.py
  79. 1
    1
      Marlin/src/lcd/extui/mks_ui/SPIFlashStorage.cpp
  80. 1
    1
      Marlin/src/lcd/extui/mks_ui/SPIFlashStorage.h
  81. 2
    2
      Marlin/src/lcd/extui/mks_ui/draw_ui.cpp
  82. 1
    1
      Marlin/src/lcd/extui/mks_ui/pic_manager.cpp
  83. 1
    1
      Marlin/src/lcd/extui/mks_ui/printer_operation.cpp
  84. 1
    1
      Marlin/src/lcd/extui/mks_ui/wifiSerial_STM32.cpp
  85. 1
    1
      Marlin/src/lcd/marlinui.cpp
  86. 1
    1
      Marlin/src/lcd/tft/canvas.cpp
  87. 2
    2
      Marlin/src/libs/MAX31865.cpp
  88. 1
    1
      Marlin/src/libs/MAX31865.h
  89. 2
    2
      Marlin/src/libs/W25Qxx.cpp
  90. 1
    1
      Marlin/src/libs/buzzer.h
  91. 2
    2
      Marlin/src/libs/duration_t.h
  92. 3
    3
      Marlin/src/module/endstops.cpp
  93. 1
    1
      Marlin/src/module/planner.h
  94. 1
    1
      Marlin/src/module/stepper/trinamic.cpp
  95. 1
    1
      Marlin/src/module/temperature.cpp
  96. 1
    1
      Marlin/src/module/thermistor/thermistor_61.h
  97. 1
    1
      Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_1.h
  98. 1
    1
      Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_3.h
  99. 1
    1
      Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h
  100. 0
    0
      Marlin/src/pins/lpc1768/pins_GMARSH_X6_REV1.h

+ 1
- 1
Marlin/Configuration.h View File

1109
 #endif
1109
 #endif
1110
 
1110
 
1111
 // Duet Smart Effector (for delta printers) - https://bit.ly/2ul5U7J
1111
 // Duet Smart Effector (for delta printers) - https://bit.ly/2ul5U7J
1112
-// When the pin is defined you can use M672 to set/reset the probe sensivity.
1112
+// When the pin is defined you can use M672 to set/reset the probe sensitivity.
1113
 //#define DUET_SMART_EFFECTOR
1113
 //#define DUET_SMART_EFFECTOR
1114
 #if ENABLED(DUET_SMART_EFFECTOR)
1114
 #if ENABLED(DUET_SMART_EFFECTOR)
1115
   #define SMART_EFFECTOR_MOD_PIN  -1  // Connect a GPIO pin to the Smart Effector MOD pin
1115
   #define SMART_EFFECTOR_MOD_PIN  -1  // Connect a GPIO pin to the Smart Effector MOD pin

+ 1
- 1
Marlin/Configuration_adv.h View File

3912
    */
3912
    */
3913
   #define I2CPE_MIN_UPD_TIME_MS     4                       // (ms) Minimum time between encoder checks.
3913
   #define I2CPE_MIN_UPD_TIME_MS     4                       // (ms) Minimum time between encoder checks.
3914
 
3914
 
3915
-  // Use a rolling average to identify persistant errors that indicate skips, as opposed to vibration and noise.
3915
+  // Use a rolling average to identify persistent errors that indicate skips, as opposed to vibration and noise.
3916
   #define I2CPE_ERR_ROLLING_AVERAGE
3916
   #define I2CPE_ERR_ROLLING_AVERAGE
3917
 
3917
 
3918
 #endif // I2C_POSITION_ENCODERS
3918
 #endif // I2C_POSITION_ENCODERS

+ 1
- 1
Marlin/Makefile View File

110
 WIRE               ?= 0
110
 WIRE               ?= 0
111
 
111
 
112
 # This defines if Tone is needed (i.e SPEAKER is defined in Configuration.h)
112
 # This defines if Tone is needed (i.e SPEAKER is defined in Configuration.h)
113
-# Disabling this (and SPEAKER) saves approximatively 350 bytes of memory.
113
+# Disabling this (and SPEAKER) saves approximately 350 bytes of memory.
114
 TONE               ?= 1
114
 TONE               ?= 1
115
 
115
 
116
 # This defines if U8GLIB is needed (may require RELOC_WORKAROUND)
116
 # This defines if U8GLIB is needed (may require RELOC_WORKAROUND)

+ 1
- 1
Marlin/src/HAL/AVR/fastio.h View File

284
  * PWM availability macros
284
  * PWM availability macros
285
  */
285
  */
286
 
286
 
287
-// Determine which harware PWMs are already in use
287
+// Determine which hardware PWMs are already in use
288
 #define _PWM_CHK_FAN_B(P) (P == E0_AUTO_FAN_PIN || P == E1_AUTO_FAN_PIN || P == E2_AUTO_FAN_PIN || P == E3_AUTO_FAN_PIN || P == E4_AUTO_FAN_PIN || P == E5_AUTO_FAN_PIN || P == E6_AUTO_FAN_PIN || P == E7_AUTO_FAN_PIN || P == CHAMBER_AUTO_FAN_PIN || P == COOLER_AUTO_FAN_PIN)
288
 #define _PWM_CHK_FAN_B(P) (P == E0_AUTO_FAN_PIN || P == E1_AUTO_FAN_PIN || P == E2_AUTO_FAN_PIN || P == E3_AUTO_FAN_PIN || P == E4_AUTO_FAN_PIN || P == E5_AUTO_FAN_PIN || P == E6_AUTO_FAN_PIN || P == E7_AUTO_FAN_PIN || P == CHAMBER_AUTO_FAN_PIN || P == COOLER_AUTO_FAN_PIN)
289
 #if PIN_EXISTS(CONTROLLER_FAN)
289
 #if PIN_EXISTS(CONTROLLER_FAN)
290
   #define PWM_CHK_FAN_B(P) (_PWM_CHK_FAN_B(P) || P == CONTROLLER_FAN_PIN)
290
   #define PWM_CHK_FAN_B(P) (_PWM_CHK_FAN_B(P) || P == CONTROLLER_FAN_PIN)

+ 1
- 1
Marlin/src/HAL/DUE/HAL_SPI.cpp View File

437
     } while (--todo);
437
     } while (--todo);
438
   }
438
   }
439
 
439
 
440
-  // Pointers to generic functions for block tranfers
440
+  // Pointers to generic functions for block transfers
441
   static pfnSpiTxBlock spiTxBlock = (pfnSpiTxBlock)spiTxBlockX;
441
   static pfnSpiTxBlock spiTxBlock = (pfnSpiTxBlock)spiTxBlockX;
442
   static pfnSpiRxBlock spiRxBlock = (pfnSpiRxBlock)spiRxBlockX;
442
   static pfnSpiRxBlock spiRxBlock = (pfnSpiRxBlock)spiRxBlockX;
443
 
443
 

+ 1
- 1
Marlin/src/HAL/DUE/usb/arduino_due_x.h View File

71
 /* ------------------------------------------------------------------------ */
71
 /* ------------------------------------------------------------------------ */
72
 
72
 
73
 /**
73
 /**
74
- * \page arduino_due_x_board_info "Arduino Due/X - Board informations"
74
+ * \page arduino_due_x_board_info "Arduino Due/X - Board information"
75
  * This page lists several definition related to the board description.
75
  * This page lists several definition related to the board description.
76
  *
76
  *
77
  */
77
  */

+ 3
- 3
Marlin/src/HAL/DUE/usb/udd.h View File

90
 	//! This buffer must be word align for DATA IN phase (use prefix COMPILER_WORD_ALIGNED for buffer)
90
 	//! This buffer must be word align for DATA IN phase (use prefix COMPILER_WORD_ALIGNED for buffer)
91
 	uint8_t *payload;
91
 	uint8_t *payload;
92
 
92
 
93
-	//! Size of buffer to send or fill, and content the number of byte transfered
93
+	//! Size of buffer to send or fill, and content the number of byte transferred
94
 	uint16_t payload_size;
94
 	uint16_t payload_size;
95
 
95
 
96
 	//! Callback called after reception of ZLP from setup request
96
 	//! Callback called after reception of ZLP from setup request
132
  *
132
  *
133
  * \param status     UDD_EP_TRANSFER_OK, if transfer is complete
133
  * \param status     UDD_EP_TRANSFER_OK, if transfer is complete
134
  * \param status     UDD_EP_TRANSFER_ABORT, if transfer is aborted
134
  * \param status     UDD_EP_TRANSFER_ABORT, if transfer is aborted
135
- * \param n          number of data transfered
135
+ * \param n          number of data transferred
136
  */
136
  */
137
 typedef void (*udd_callback_trans_t) (udd_ep_status_t status,
137
 typedef void (*udd_callback_trans_t) (udd_ep_status_t status,
138
 		iram_size_t nb_transfered, udd_ep_id_t ep);
138
 		iram_size_t nb_transfered, udd_ep_id_t ep);
303
  * The driver uses a specific DMA USB to transfer data
303
  * The driver uses a specific DMA USB to transfer data
304
  * from internal RAM to endpoint, if this one is available.
304
  * from internal RAM to endpoint, if this one is available.
305
  * When the transfer is finished or aborted (stall, reset, ...), the \a callback is called.
305
  * When the transfer is finished or aborted (stall, reset, ...), the \a callback is called.
306
- * The \a callback returns the transfer status and eventually the number of byte transfered.
306
+ * The \a callback returns the transfer status and eventually the number of byte transferred.
307
  * Note: The control endpoint is not authorized.
307
  * Note: The control endpoint is not authorized.
308
  *
308
  *
309
  * \param ep            The ID of the endpoint to use
309
  * \param ep            The ID of the endpoint to use

+ 2
- 2
Marlin/src/HAL/DUE/usb/udi_cdc.c View File

162
  *
162
  *
163
  * \param status     UDD_EP_TRANSFER_OK, if transfer finished
163
  * \param status     UDD_EP_TRANSFER_OK, if transfer finished
164
  * \param status     UDD_EP_TRANSFER_ABORT, if transfer aborted
164
  * \param status     UDD_EP_TRANSFER_ABORT, if transfer aborted
165
- * \param n          number of data transfered
165
+ * \param n          number of data transferred
166
  */
166
  */
167
 static void udi_cdc_serial_state_msg_sent(udd_ep_status_t status, iram_size_t n, udd_ep_id_t ep);
167
 static void udi_cdc_serial_state_msg_sent(udd_ep_status_t status, iram_size_t n, udd_ep_id_t ep);
168
 
168
 
200
  *
200
  *
201
  * \param status     UDD_EP_TRANSFER_OK, if transfer finished
201
  * \param status     UDD_EP_TRANSFER_OK, if transfer finished
202
  * \param status     UDD_EP_TRANSFER_ABORT, if transfer aborted
202
  * \param status     UDD_EP_TRANSFER_ABORT, if transfer aborted
203
- * \param n          number of data transfered
203
+ * \param n          number of data transferred
204
  */
204
  */
205
 static void udi_cdc_data_sent(udd_ep_status_t status, iram_size_t n, udd_ep_id_t ep);
205
 static void udi_cdc_data_sent(udd_ep_status_t status, iram_size_t n, udd_ep_id_t ep);
206
 
206
 

+ 1
- 1
Marlin/src/HAL/DUE/usb/udi_cdc_conf.h View File

106
  */
106
  */
107
 //@{
107
 //@{
108
 #  if UDI_CDC_PORT_NB > 2
108
 #  if UDI_CDC_PORT_NB > 2
109
-#    error USBB, UDP, UDPHS and UOTGHS interfaces have not enought endpoints.
109
+#    error USBB, UDP, UDPHS and UOTGHS interfaces have not enough endpoints.
110
 #  endif
110
 #  endif
111
 #define  UDI_CDC_DATA_EP_IN_0          (1 | USB_EP_DIR_IN)  // TX
111
 #define  UDI_CDC_DATA_EP_IN_0          (1 | USB_EP_DIR_IN)  // TX
112
 #define  UDI_CDC_DATA_EP_OUT_0         (2 | USB_EP_DIR_OUT) // RX
112
 #define  UDI_CDC_DATA_EP_OUT_0         (2 | USB_EP_DIR_OUT) // RX

+ 5
- 5
Marlin/src/HAL/DUE/usb/udi_msc.c View File

173
  *
173
  *
174
  * \param status       UDD_EP_TRANSFER_OK, if transfer is finished
174
  * \param status       UDD_EP_TRANSFER_OK, if transfer is finished
175
  * \param status       UDD_EP_TRANSFER_ABORT, if transfer is aborted
175
  * \param status       UDD_EP_TRANSFER_ABORT, if transfer is aborted
176
- * \param nb_received  number of data transfered
176
+ * \param nb_received  number of data transferred
177
  */
177
  */
178
 static void udi_msc_cbw_received(udd_ep_status_t status,
178
 static void udi_msc_cbw_received(udd_ep_status_t status,
179
     iram_size_t nb_received, udd_ep_id_t ep);
179
     iram_size_t nb_received, udd_ep_id_t ep);
211
  *
211
  *
212
  * \param status     UDD_EP_TRANSFER_OK, if transfer finish
212
  * \param status     UDD_EP_TRANSFER_OK, if transfer finish
213
  * \param status     UDD_EP_TRANSFER_ABORT, if transfer aborted
213
  * \param status     UDD_EP_TRANSFER_ABORT, if transfer aborted
214
- * \param nb_sent    number of data transfered
214
+ * \param nb_sent    number of data transferred
215
  */
215
  */
216
 static void udi_msc_data_sent(udd_ep_status_t status, iram_size_t nb_sent,
216
 static void udi_msc_data_sent(udd_ep_status_t status, iram_size_t nb_sent,
217
     udd_ep_id_t ep);
217
     udd_ep_id_t ep);
244
  *
244
  *
245
  * \param status     UDD_EP_TRANSFER_OK, if transfer is finished
245
  * \param status     UDD_EP_TRANSFER_OK, if transfer is finished
246
  * \param status     UDD_EP_TRANSFER_ABORT, if transfer is aborted
246
  * \param status     UDD_EP_TRANSFER_ABORT, if transfer is aborted
247
- * \param nb_sent    number of data transfered
247
+ * \param nb_sent    number of data transferred
248
  */
248
  */
249
 static void udi_msc_csw_sent(udd_ep_status_t status, iram_size_t nb_sent,
249
 static void udi_msc_csw_sent(udd_ep_status_t status, iram_size_t nb_sent,
250
     udd_ep_id_t ep);
250
     udd_ep_id_t ep);
463
 static void udi_msc_cbw_invalid(void)
463
 static void udi_msc_cbw_invalid(void)
464
 {
464
 {
465
   if (!udi_msc_b_cbw_invalid)
465
   if (!udi_msc_b_cbw_invalid)
466
-    return; // Don't re-stall endpoint if error reseted by setup
466
+    return; // Don't re-stall endpoint if error reset by setup
467
   udd_ep_set_halt(UDI_MSC_EP_OUT);
467
   udd_ep_set_halt(UDI_MSC_EP_OUT);
468
   // If stall cleared then re-stall it. Only Setup MSC Reset can clear it
468
   // If stall cleared then re-stall it. Only Setup MSC Reset can clear it
469
   udd_ep_wait_stall_clear(UDI_MSC_EP_OUT, udi_msc_cbw_invalid);
469
   udd_ep_wait_stall_clear(UDI_MSC_EP_OUT, udi_msc_cbw_invalid);
472
 static void udi_msc_csw_invalid(void)
472
 static void udi_msc_csw_invalid(void)
473
 {
473
 {
474
   if (!udi_msc_b_cbw_invalid)
474
   if (!udi_msc_b_cbw_invalid)
475
-    return; // Don't re-stall endpoint if error reseted by setup
475
+    return; // Don't re-stall endpoint if error reset by setup
476
   udd_ep_set_halt(UDI_MSC_EP_IN);
476
   udd_ep_set_halt(UDI_MSC_EP_IN);
477
   // If stall cleared then re-stall it. Only Setup MSC Reset can clear it
477
   // If stall cleared then re-stall it. Only Setup MSC Reset can clear it
478
   udd_ep_wait_stall_clear(UDI_MSC_EP_IN, udi_msc_csw_invalid);
478
   udd_ep_wait_stall_clear(UDI_MSC_EP_IN, udi_msc_csw_invalid);

+ 23
- 23
Marlin/src/HAL/DUE/usb/uotghs_device_due.c View File

325
 /**
325
 /**
326
  * \name Control endpoint low level management routine.
326
  * \name Control endpoint low level management routine.
327
  *
327
  *
328
- * This function performs control endpoint mangement.
328
+ * This function performs control endpoint management.
329
  * It handle the SETUP/DATA/HANDSHAKE phases of a control transaction.
329
  * It handle the SETUP/DATA/HANDSHAKE phases of a control transaction.
330
  */
330
  */
331
 //@{
331
 //@{
397
 /**
397
 /**
398
  * \brief Main interrupt routine for control endpoint
398
  * \brief Main interrupt routine for control endpoint
399
  *
399
  *
400
- * This switchs control endpoint events to correct sub function.
400
+ * This switches control endpoint events to correct sub function.
401
  *
401
  *
402
- * \return \c 1 if an event about control endpoint is occured, otherwise \c 0.
402
+ * \return \c 1 if an event about control endpoint is occurred, otherwise \c 0.
403
  */
403
  */
404
 static bool udd_ctrl_interrupt(void);
404
 static bool udd_ctrl_interrupt(void);
405
 
405
 
410
  * \name Management of bulk/interrupt/isochronous endpoints
410
  * \name Management of bulk/interrupt/isochronous endpoints
411
  *
411
  *
412
  * The UDD manages the data transfer on endpoints:
412
  * The UDD manages the data transfer on endpoints:
413
- * - Start data tranfer on endpoint with USB Device DMA
413
+ * - Start data transfer on endpoint with USB Device DMA
414
  * - Send a ZLP packet if requested
414
  * - Send a ZLP packet if requested
415
  * - Call callback registered to signal end of transfer
415
  * - Call callback registered to signal end of transfer
416
  * The transfer abort and stall feature are supported.
416
  * The transfer abort and stall feature are supported.
431
 	uint8_t *buf;
431
 	uint8_t *buf;
432
 	//! Size of buffer to send or fill
432
 	//! Size of buffer to send or fill
433
 	iram_size_t buf_size;
433
 	iram_size_t buf_size;
434
-	//!< Size of data transfered
434
+	//!< Size of data transferred
435
 	iram_size_t buf_cnt;
435
 	iram_size_t buf_cnt;
436
 	//!< Size of data loaded (or prepared for DMA) last time
436
 	//!< Size of data loaded (or prepared for DMA) last time
437
 	iram_size_t buf_load;
437
 	iram_size_t buf_load;
486
 
486
 
487
 #ifdef UDD_EP_DMA_SUPPORTED
487
 #ifdef UDD_EP_DMA_SUPPORTED
488
 	/**
488
 	/**
489
-	 * \brief Start the next transfer if necessary or complet the job associated.
489
+	 * \brief Start the next transfer if necessary or complete the job associated.
490
 	 *
490
 	 *
491
 	 * \param ep endpoint number without direction flag
491
 	 * \param ep endpoint number without direction flag
492
 	 */
492
 	 */
496
 /**
496
 /**
497
  * \brief Main interrupt routine for bulk/interrupt/isochronous endpoints
497
  * \brief Main interrupt routine for bulk/interrupt/isochronous endpoints
498
  *
498
  *
499
- * This switchs endpoint events to correct sub function.
499
+ * This switches endpoint events to correct sub function.
500
  *
500
  *
501
- * \return \c 1 if an event about bulk/interrupt/isochronous endpoints has occured, otherwise \c 0.
501
+ * \return \c 1 if an event about bulk/interrupt/isochronous endpoints has occurred, otherwise \c 0.
502
  */
502
  */
503
 static bool udd_ep_interrupt(void);
503
 static bool udd_ep_interrupt(void);
504
 
504
 
520
  *
520
  *
521
  * Note:
521
  * Note:
522
  * Here, the global interrupt mask is not clear when an USB interrupt is enabled
522
  * Here, the global interrupt mask is not clear when an USB interrupt is enabled
523
- * because this one can not be occured during the USB ISR (=during INTX is masked).
523
+ * because this one can not be occurred during the USB ISR (=during INTX is masked).
524
  * See Technical reference $3.8.3 Masking interrupt requests in peripheral modules.
524
  * See Technical reference $3.8.3 Masking interrupt requests in peripheral modules.
525
  */
525
  */
526
 #ifdef UHD_ENABLE
526
 #ifdef UHD_ENABLE
787
 	udd_sleep_mode(true);
787
 	udd_sleep_mode(true);
788
 	otg_unfreeze_clock();
788
 	otg_unfreeze_clock();
789
 
789
 
790
-	// This section of clock check can be improved with a chek of
790
+	// This section of clock check can be improved with a check of
791
 	// USB clock source via sysclk()
791
 	// USB clock source via sysclk()
792
 	// Check USB clock because the source can be a PLL
792
 	// Check USB clock because the source can be a PLL
793
 	while (!Is_otg_clock_usable());
793
 	while (!Is_otg_clock_usable());
803
 #ifdef USB_DEVICE_HS_SUPPORT
803
 #ifdef USB_DEVICE_HS_SUPPORT
804
 	udd_enable_msof_interrupt();
804
 	udd_enable_msof_interrupt();
805
 #endif
805
 #endif
806
-	// Reset following interupts flag
806
+	// Reset following interrupts flag
807
 	udd_ack_reset();
807
 	udd_ack_reset();
808
 	udd_ack_sof();
808
 	udd_ack_sof();
809
 	udd_ack_msof();
809
 	udd_ack_msof();
902
 	}
902
 	}
903
 	dbg_print("alloc(%x, %d) ", ep, MaxEndpointSize);
903
 	dbg_print("alloc(%x, %d) ", ep, MaxEndpointSize);
904
 
904
 
905
-	// Bank choise
905
+	// Bank choice
906
 	switch (bmAttributes & USB_EP_TYPE_MASK) {
906
 	switch (bmAttributes & USB_EP_TYPE_MASK) {
907
 	case USB_EP_TYPE_ISOCHRONOUS:
907
 	case USB_EP_TYPE_ISOCHRONOUS:
908
 		nb_bank = UDD_ISOCHRONOUS_NB_BANK(ep);
908
 		nb_bank = UDD_ISOCHRONOUS_NB_BANK(ep);
1228
 
1228
 
1229
 	if (Is_udd_endpoint_stall_requested(ep)
1229
 	if (Is_udd_endpoint_stall_requested(ep)
1230
 			|| ptr_job->stall_requested) {
1230
 			|| ptr_job->stall_requested) {
1231
-		// Endpoint halted then registes the callback
1231
+		// Endpoint halted then registers the callback
1232
 		ptr_job->busy = true;
1232
 		ptr_job->busy = true;
1233
 		ptr_job->call_nohalt = callback;
1233
 		ptr_job->call_nohalt = callback;
1234
 	} else {
1234
 	} else {
1386
 
1386
 
1387
 	// Decode setup request
1387
 	// Decode setup request
1388
 	if (udc_process_setup() == false) {
1388
 	if (udc_process_setup() == false) {
1389
-		// Setup request unknow then stall it
1389
+		// Setup request unknown then stall it
1390
 		udd_ctrl_stall_data();
1390
 		udd_ctrl_stall_data();
1391
 		udd_ack_setup_received(0);
1391
 		udd_ack_setup_received(0);
1392
 		return;
1392
 		return;
1447
 		udd_ctrl_prev_payload_buf_cnt += udd_ctrl_payload_buf_cnt;
1447
 		udd_ctrl_prev_payload_buf_cnt += udd_ctrl_payload_buf_cnt;
1448
 		if ((udd_g_ctrlreq.req.wLength == udd_ctrl_prev_payload_buf_cnt)
1448
 		if ((udd_g_ctrlreq.req.wLength == udd_ctrl_prev_payload_buf_cnt)
1449
 					|| b_shortpacket) {
1449
 					|| b_shortpacket) {
1450
-			// All data requested are transfered or a short packet has been sent
1450
+			// All data requested are transferred or a short packet has been sent
1451
 			// then it is the end of data phase.
1451
 			// then it is the end of data phase.
1452
 			// Generate an OUT ZLP for handshake phase.
1452
 			// Generate an OUT ZLP for handshake phase.
1453
 			udd_ctrl_send_zlp_out();
1453
 			udd_ctrl_send_zlp_out();
1516
 			// End of SETUP request:
1516
 			// End of SETUP request:
1517
 			// - Data IN Phase aborted,
1517
 			// - Data IN Phase aborted,
1518
 			// - or last Data IN Phase hidden by ZLP OUT sending quiclky,
1518
 			// - or last Data IN Phase hidden by ZLP OUT sending quiclky,
1519
-			// - or ZLP OUT received normaly.
1519
+			// - or ZLP OUT received normally.
1520
 			udd_ctrl_endofrequest();
1520
 			udd_ctrl_endofrequest();
1521
 		} else {
1521
 		} else {
1522
 			// Protocol error during SETUP request
1522
 			// Protocol error during SETUP request
1544
 					(udd_ctrl_prev_payload_buf_cnt +
1544
 					(udd_ctrl_prev_payload_buf_cnt +
1545
 							udd_ctrl_payload_buf_cnt))) {
1545
 							udd_ctrl_payload_buf_cnt))) {
1546
 		// End of reception because it is a short packet
1546
 		// End of reception because it is a short packet
1547
-		// Before send ZLP, call intermediat calback
1547
+		// Before send ZLP, call intermediate callback
1548
 		// in case of data receiv generate a stall
1548
 		// in case of data receiv generate a stall
1549
 		udd_g_ctrlreq.payload_size = udd_ctrl_payload_buf_cnt;
1549
 		udd_g_ctrlreq.payload_size = udd_ctrl_payload_buf_cnt;
1550
 		if (NULL != udd_g_ctrlreq.over_under_run) {
1550
 		if (NULL != udd_g_ctrlreq.over_under_run) {
1565
 	if (udd_g_ctrlreq.payload_size == udd_ctrl_payload_buf_cnt) {
1565
 	if (udd_g_ctrlreq.payload_size == udd_ctrl_payload_buf_cnt) {
1566
 		// Overrun then request a new payload buffer
1566
 		// Overrun then request a new payload buffer
1567
 		if (!udd_g_ctrlreq.over_under_run) {
1567
 		if (!udd_g_ctrlreq.over_under_run) {
1568
-			// No callback availabled to request a new payload buffer
1568
+			// No callback available to request a new payload buffer
1569
 			udd_ctrl_stall_data();
1569
 			udd_ctrl_stall_data();
1570
 			// Ack reception of OUT to replace NAK by a STALL
1570
 			// Ack reception of OUT to replace NAK by a STALL
1571
 			udd_ack_out_received(0);
1571
 			udd_ack_out_received(0);
1805
 			// transfer size of UDD_ENDPOINT_MAX_TRANS Bytes
1805
 			// transfer size of UDD_ENDPOINT_MAX_TRANS Bytes
1806
 			next_trans = UDD_ENDPOINT_MAX_TRANS;
1806
 			next_trans = UDD_ENDPOINT_MAX_TRANS;
1807
 
1807
 
1808
-			// Set 0 to tranfer the maximum
1808
+			// Set 0 to transfer the maximum
1809
 			udd_dma_ctrl = UOTGHS_DEVDMACONTROL_BUFF_LENGTH(0);
1809
 			udd_dma_ctrl = UOTGHS_DEVDMACONTROL_BUFF_LENGTH(0);
1810
 		} else {
1810
 		} else {
1811
 			udd_dma_ctrl = UOTGHS_DEVDMACONTROL_BUFF_LENGTH(next_trans);
1811
 			udd_dma_ctrl = UOTGHS_DEVDMACONTROL_BUFF_LENGTH(next_trans);
1850
 		}
1850
 		}
1851
 		cpu_irq_restore(flags);
1851
 		cpu_irq_restore(flags);
1852
 
1852
 
1853
-		// Here a ZLP has been recieved
1853
+		// Here a ZLP has been received
1854
 		// and the DMA transfer must be not started.
1854
 		// and the DMA transfer must be not started.
1855
 		// It is the end of transfer
1855
 		// It is the end of transfer
1856
 		ptr_job->buf_size = ptr_job->buf_cnt;
1856
 		ptr_job->buf_size = ptr_job->buf_cnt;
1991
 			}
1991
 			}
1992
 			dbg_print("dma%x: ", ep);
1992
 			dbg_print("dma%x: ", ep);
1993
 			udd_disable_endpoint_dma_interrupt(ep);
1993
 			udd_disable_endpoint_dma_interrupt(ep);
1994
-			// Save number of data no transfered
1994
+			// Save number of data no transferred
1995
 			nb_remaining = (udd_endpoint_dma_get_status(ep) &
1995
 			nb_remaining = (udd_endpoint_dma_get_status(ep) &
1996
 					UOTGHS_DEVDMASTATUS_BUFF_COUNT_Msk)
1996
 					UOTGHS_DEVDMASTATUS_BUFF_COUNT_Msk)
1997
 					>> UOTGHS_DEVDMASTATUS_BUFF_COUNT_Pos;
1997
 					>> UOTGHS_DEVDMASTATUS_BUFF_COUNT_Pos;
1998
 			if (nb_remaining) {
1998
 			if (nb_remaining) {
1999
 				// Transfer no complete (short packet or ZLP) then:
1999
 				// Transfer no complete (short packet or ZLP) then:
2000
-				// Update number of data transfered
2000
+				// Update number of data transferred
2001
 				ptr_job->buf_cnt -= nb_remaining;
2001
 				ptr_job->buf_cnt -= nb_remaining;
2002
 				// Set transfer complete to stop the transfer
2002
 				// Set transfer complete to stop the transfer
2003
 				ptr_job->buf_size = ptr_job->buf_cnt;
2003
 				ptr_job->buf_size = ptr_job->buf_cnt;
2056
 				udd_disable_endpoint_interrupt(ep);
2056
 				udd_disable_endpoint_interrupt(ep);
2057
 
2057
 
2058
 				Assert(ptr_job->stall_requested);
2058
 				Assert(ptr_job->stall_requested);
2059
-				// A stall has been requested during backgound transfer
2059
+				// A stall has been requested during background transfer
2060
 				ptr_job->stall_requested = false;
2060
 				ptr_job->stall_requested = false;
2061
 				udd_disable_endpoint_bank_autoswitch(ep);
2061
 				udd_disable_endpoint_bank_autoswitch(ep);
2062
 				udd_enable_stall_handshake(ep);
2062
 				udd_enable_stall_handshake(ep);

+ 1
- 1
Marlin/src/HAL/DUE/usb/usb_protocol_msc.h View File

130
 struct usb_msc_csw {
130
 struct usb_msc_csw {
131
 	le32_t dCSWSignature;	//!< Must contain 'USBS'
131
 	le32_t dCSWSignature;	//!< Must contain 'USBS'
132
 	le32_t dCSWTag;	//!< Same as dCBWTag
132
 	le32_t dCSWTag;	//!< Same as dCBWTag
133
-	le32_t dCSWDataResidue;	//!< Number of bytes not transfered
133
+	le32_t dCSWDataResidue;	//!< Number of bytes not transferred
134
 	uint8_t bCSWStatus;	//!< Status code
134
 	uint8_t bCSWStatus;	//!< Status code
135
 };
135
 };
136
 
136
 

+ 1
- 1
Marlin/src/HAL/LINUX/hardware/Heater.cpp View File

54
 }
54
 }
55
 
55
 
56
 void Heater::interrupt(GpioEvent ev) {
56
 void Heater::interrupt(GpioEvent ev) {
57
-  // ununsed
57
+  // unused
58
 }
58
 }
59
 
59
 
60
 #endif // __PLAT_LINUX__
60
 #endif // __PLAT_LINUX__

+ 1
- 1
Marlin/src/HAL/LINUX/include/pinmapping.h View File

55
 // Test whether the pin is PWM
55
 // Test whether the pin is PWM
56
 constexpr bool PWM_PIN(const pin_t p) { return false; }
56
 constexpr bool PWM_PIN(const pin_t p) { return false; }
57
 
57
 
58
-// Test whether the pin is interruptable
58
+// Test whether the pin is interruptible
59
 constexpr bool INTERRUPT_PIN(const pin_t p) { return false; }
59
 constexpr bool INTERRUPT_PIN(const pin_t p) { return false; }
60
 
60
 
61
 // Get the pin number at the given index
61
 // Get the pin number at the given index

+ 1
- 1
Marlin/src/HAL/SAMD51/HAL.cpp View File

98
   // Struct must be 32 bits aligned because of DMA accesses but fields needs to be 8 bits packed
98
   // Struct must be 32 bits aligned because of DMA accesses but fields needs to be 8 bits packed
99
   typedef struct  __attribute__((aligned(4), packed)) {
99
   typedef struct  __attribute__((aligned(4), packed)) {
100
     ADC_INPUTCTRL_Type INPUTCTRL;
100
     ADC_INPUTCTRL_Type INPUTCTRL;
101
-  } HAL_DMA_DAC_Registers;    // DMA transfered registers
101
+  } HAL_DMA_DAC_Registers;    // DMA transferred registers
102
 
102
 
103
 #endif
103
 #endif
104
 
104
 

+ 1
- 1
Marlin/src/HAL/SAMD51/fastio.h View File

131
    */
131
    */
132
   #define PWM_PIN(P)        (WITHIN(P, 2, 13) || WITHIN(P, 22, 23) || WITHIN(P, 44, 45) || P == 48)
132
   #define PWM_PIN(P)        (WITHIN(P, 2, 13) || WITHIN(P, 22, 23) || WITHIN(P, 44, 45) || P == 48)
133
 
133
 
134
-  // Return fullfilled ADCx->INPUTCTRL.reg
134
+  // Return fulfilled ADCx->INPUTCTRL.reg
135
   #define PIN_TO_INPUTCTRL(P)     (  (PIN_TO_AIN(P) == 0) ? ADC_INPUTCTRL_MUXPOS_AIN0   \
135
   #define PIN_TO_INPUTCTRL(P)     (  (PIN_TO_AIN(P) == 0) ? ADC_INPUTCTRL_MUXPOS_AIN0   \
136
                                    : (PIN_TO_AIN(P) == 1) ? ADC_INPUTCTRL_MUXPOS_AIN1   \
136
                                    : (PIN_TO_AIN(P) == 1) ? ADC_INPUTCTRL_MUXPOS_AIN1   \
137
                                    : (PIN_TO_AIN(P) == 2) ? ADC_INPUTCTRL_MUXPOS_AIN2   \
137
                                    : (PIN_TO_AIN(P) == 2) ? ADC_INPUTCTRL_MUXPOS_AIN2   \

+ 1
- 1
Marlin/src/HAL/SAMD51/timers.cpp View File

107
     tc->COUNT32.INTENCLR.reg = TC_INTENCLR_OVF; // disable overflow interrupt
107
     tc->COUNT32.INTENCLR.reg = TC_INTENCLR_OVF; // disable overflow interrupt
108
 
108
 
109
     // TCn clock setup
109
     // TCn clock setup
110
-    const uint8_t clockID = GCLK_CLKCTRL_IDs[TCC_INST_NUM + timer_num];   // TC clock are preceeded by TCC ones
110
+    const uint8_t clockID = GCLK_CLKCTRL_IDs[TCC_INST_NUM + timer_num];   // TC clock are preceded by TCC ones
111
     GCLK->PCHCTRL[clockID].bit.CHEN = false;
111
     GCLK->PCHCTRL[clockID].bit.CHEN = false;
112
     SYNC(GCLK->PCHCTRL[clockID].bit.CHEN);
112
     SYNC(GCLK->PCHCTRL[clockID].bit.CHEN);
113
     GCLK->PCHCTRL[clockID].reg = GCLK_PCHCTRL_GEN_GCLK0 | GCLK_PCHCTRL_CHEN;   // 120MHz startup code programmed
113
     GCLK->PCHCTRL[clockID].reg = GCLK_PCHCTRL_GEN_GCLK0 | GCLK_PCHCTRL_CHEN;   // 120MHz startup code programmed

+ 1
- 1
Marlin/src/HAL/STM32/HAL_MinSerial.cpp View File

123
     }
123
     }
124
     regs->DR = c;
124
     regs->DR = c;
125
   #else
125
   #else
126
-    // Let's hope a mystical guru will fix this, one day by writting interrupt-free USB CDC ACM code (or, at least, by polling the registers since interrupt will be queued but will never trigger)
126
+    // Let's hope a mystical guru will fix this, one day by writing interrupt-free USB CDC ACM code (or, at least, by polling the registers since interrupt will be queued but will never trigger)
127
     // For now, it's completely lost to oblivion.
127
     // For now, it's completely lost to oblivion.
128
   #endif
128
   #endif
129
 }
129
 }

+ 1
- 1
Marlin/src/HAL/STM32/Servo.cpp View File

37
 // This allows all timer interrupt priorities to be managed from a single location in the HAL.
37
 // This allows all timer interrupt priorities to be managed from a single location in the HAL.
38
 static uint32_t servo_interrupt_priority = NVIC_EncodePriority(NVIC_GetPriorityGrouping(), TIM_IRQ_PRIO, TIM_IRQ_SUBPRIO);
38
 static uint32_t servo_interrupt_priority = NVIC_EncodePriority(NVIC_GetPriorityGrouping(), TIM_IRQ_PRIO, TIM_IRQ_SUBPRIO);
39
 
39
 
40
-// This must be called after the STM32 Servo class has intialized the timer.
40
+// This must be called after the STM32 Servo class has initialized the timer.
41
 // It may only be needed after the first call to attach(), but it is possible
41
 // It may only be needed after the first call to attach(), but it is possible
42
 // that is is necessary after every detach() call. To be safe this is currently
42
 // that is is necessary after every detach() call. To be safe this is currently
43
 // called after every call to attach().
43
 // called after every call to attach().

+ 1
- 1
Marlin/src/HAL/STM32/eeprom_flash.cpp View File

121
         address += sizeof(uint32_t);
121
         address += sizeof(uint32_t);
122
       }
122
       }
123
       if (current_slot == -1) {
123
       if (current_slot == -1) {
124
-        // We didn't find anything, so we'll just intialize to empty
124
+        // We didn't find anything, so we'll just initialize to empty
125
         for (int i = 0; i < MARLIN_EEPROM_SIZE; i++) ram_eeprom[i] = EMPTY_UINT8;
125
         for (int i = 0; i < MARLIN_EEPROM_SIZE; i++) ram_eeprom[i] = EMPTY_UINT8;
126
         current_slot = EEPROM_SLOTS;
126
         current_slot = EEPROM_SLOTS;
127
       }
127
       }

+ 2
- 2
Marlin/src/HAL/STM32/msc_sd.cpp View File

60
       return true;
60
       return true;
61
     }
61
     }
62
 
62
 
63
-    // multi block optmization
63
+    // multi block optimization
64
     sd2card->writeStart(blkAddr, blkLen);
64
     sd2card->writeStart(blkAddr, blkLen);
65
     while (blkLen--) {
65
     while (blkLen--) {
66
       watchdog_refresh();
66
       watchdog_refresh();
80
       return true;
80
       return true;
81
     }
81
     }
82
 
82
 
83
-    // multi block optmization
83
+    // multi block optimization
84
     sd2card->readStart(blkAddr);
84
     sd2card->readStart(blkAddr);
85
     while (blkLen--) {
85
     while (blkLen--) {
86
       watchdog_refresh();
86
       watchdog_refresh();

+ 1
- 1
Marlin/src/HAL/STM32F1/HAL.cpp View File

253
   reg_value &= ~(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk);             /* clear bits to change               */
253
   reg_value &= ~(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk);             /* clear bits to change               */
254
   reg_value  =  (reg_value                                 |
254
   reg_value  =  (reg_value                                 |
255
                 ((uint32_t)0x5FA << SCB_AIRCR_VECTKEY_Pos) |
255
                 ((uint32_t)0x5FA << SCB_AIRCR_VECTKEY_Pos) |
256
-                (PriorityGroupTmp << 8));                                     /* Insert write key and priorty group */
256
+                (PriorityGroupTmp << 8));                                     /* Insert write key & priority group  */
257
   SCB->AIRCR =  reg_value;
257
   SCB->AIRCR =  reg_value;
258
 }
258
 }
259
 
259
 

+ 2
- 2
Marlin/src/HAL/STM32F1/SPI.cpp View File

363
 /**
363
 /**
364
  * Roger Clark and Victor Perez, 2015
364
  * Roger Clark and Victor Perez, 2015
365
  * Performs a DMA SPI transfer with at least a receive buffer.
365
  * Performs a DMA SPI transfer with at least a receive buffer.
366
- * If a TX buffer is not provided, FF is sent over and over for the lenght of the transfer.
367
- * On exit TX buffer is not modified, and RX buffer cotains the received data.
366
+ * If a TX buffer is not provided, FF is sent over and over for the length of the transfer.
367
+ * On exit TX buffer is not modified, and RX buffer contains the received data.
368
  * Still in progress.
368
  * Still in progress.
369
  */
369
  */
370
 void SPIClass::dmaTransferSet(const void *transmitBuf, void *receiveBuf) {
370
 void SPIClass::dmaTransferSet(const void *transmitBuf, void *receiveBuf) {

+ 3
- 3
Marlin/src/HAL/STM32F1/onboard_sd.h View File

7
 #pragma once
7
 #pragma once
8
 
8
 
9
 #define _DISKIO_WRITE   1   /* 1: Enable disk_write function */
9
 #define _DISKIO_WRITE   1   /* 1: Enable disk_write function */
10
-#define _DISKIO_IOCTL   1   /* 1: Enable disk_ioctl fucntion */
11
-#define _DISKIO_ISDIO   0   /* 1: Enable iSDIO control fucntion */
10
+#define _DISKIO_IOCTL   1   /* 1: Enable disk_ioctl function */
11
+#define _DISKIO_ISDIO   0   /* 1: Enable iSDIO control function */
12
 
12
 
13
 typedef unsigned char BYTE;
13
 typedef unsigned char BYTE;
14
 typedef unsigned short WORD;
14
 typedef unsigned short WORD;
56
 #define STA_NODISK      0x02    /* No medium in the drive */
56
 #define STA_NODISK      0x02    /* No medium in the drive */
57
 #define STA_PROTECT     0x04    /* Write protected */
57
 #define STA_PROTECT     0x04    /* Write protected */
58
 
58
 
59
-/* Command code for disk_ioctrl fucntion */
59
+/* Command code for disk_ioctrl function */
60
 
60
 
61
 /* Generic command (Used by FatFs) */
61
 /* Generic command (Used by FatFs) */
62
 #define CTRL_SYNC        0  /* Complete pending write process (needed at _FS_READONLY == 0) */
62
 #define CTRL_SYNC        0  /* Complete pending write process (needed at _FS_READONLY == 0) */

+ 1
- 1
Marlin/src/HAL/STM32F1/timers.h View File

166
   case STEP_TIMER_NUM:
166
   case STEP_TIMER_NUM:
167
     // NOTE: WE have set ARPE = 0, which means the Auto reload register is not preloaded
167
     // NOTE: WE have set ARPE = 0, which means the Auto reload register is not preloaded
168
     // and there is no need to use any compare, as in the timer mode used, setting ARR to the compare value
168
     // and there is no need to use any compare, as in the timer mode used, setting ARR to the compare value
169
-    // will result in exactly the same effect, ie trigerring an interrupt, and on top, set counter to 0
169
+    // will result in exactly the same effect, ie triggering an interrupt, and on top, set counter to 0
170
     timer_set_reload(STEP_TIMER_DEV, compare); // We reload direct ARR as needed during counting up
170
     timer_set_reload(STEP_TIMER_DEV, compare); // We reload direct ARR as needed during counting up
171
     break;
171
     break;
172
   case TEMP_TIMER_NUM:
172
   case TEMP_TIMER_NUM:

+ 1
- 1
Marlin/src/HAL/TEENSY31_32/HAL_SPI.cpp View File

65
     case SPI_EIGHTH_SPEED:  clock =  1250000; break;
65
     case SPI_EIGHTH_SPEED:  clock =  1250000; break;
66
     case SPI_SPEED_5:       clock =   625000; break;
66
     case SPI_SPEED_5:       clock =   625000; break;
67
     case SPI_SPEED_6:       clock =   312500; break;
67
     case SPI_SPEED_6:       clock =   312500; break;
68
-    default:                clock = 4000000; // Default from the SPI libarary
68
+    default:                clock = 4000000; // Default from the SPI library
69
   }
69
   }
70
   spiConfig = SPISettings(clock, MSBFIRST, SPI_MODE0);
70
   spiConfig = SPISettings(clock, MSBFIRST, SPI_MODE0);
71
   SPI.begin();
71
   SPI.begin();

+ 1
- 1
Marlin/src/HAL/TEENSY35_36/HAL_SPI.cpp View File

65
   case SPI_SPEED_5:       clock =   625000; break;
65
   case SPI_SPEED_5:       clock =   625000; break;
66
   case SPI_SPEED_6:       clock =   312500; break;
66
   case SPI_SPEED_6:       clock =   312500; break;
67
   default:
67
   default:
68
-    clock = 4000000; // Default from the SPI libarary
68
+    clock = 4000000; // Default from the SPI library
69
   }
69
   }
70
   spiConfig = SPISettings(clock, MSBFIRST, SPI_MODE0);
70
   spiConfig = SPISettings(clock, MSBFIRST, SPI_MODE0);
71
   SPI.begin();
71
   SPI.begin();

+ 1
- 1
Marlin/src/HAL/TEENSY40_41/HAL_SPI.cpp View File

82
   case SPI_SPEED_5:       clock =   625000; break;
82
   case SPI_SPEED_5:       clock =   625000; break;
83
   case SPI_SPEED_6:       clock =   312500; break;
83
   case SPI_SPEED_6:       clock =   312500; break;
84
   default:
84
   default:
85
-    clock = 4000000; // Default from the SPI libarary
85
+    clock = 4000000; // Default from the SPI library
86
   }
86
   }
87
   spiConfig = SPISettings(clock, MSBFIRST, SPI_MODE0);
87
   spiConfig = SPISettings(clock, MSBFIRST, SPI_MODE0);
88
   SPI.begin();
88
   SPI.begin();

+ 1
- 1
Marlin/src/HAL/shared/backtrace/unwarm.h View File

4
  * This program is PUBLIC DOMAIN.
4
  * This program is PUBLIC DOMAIN.
5
  * This means that there is no copyright and anyone is able to take a copy
5
  * This means that there is no copyright and anyone is able to take a copy
6
  * for free and use it as they wish, with or without modifications, and in
6
  * for free and use it as they wish, with or without modifications, and in
7
- * any context, commerically or otherwise. The only limitation is that I
7
+ * any context, commercially or otherwise. The only limitation is that I
8
  * don't guarantee that the software is fit for any purpose or accept any
8
  * don't guarantee that the software is fit for any purpose or accept any
9
  * liability for its use or misuse - this software is without warranty.
9
  * liability for its use or misuse - this software is without warranty.
10
  ***************************************************************************
10
  ***************************************************************************

+ 1
- 1
Marlin/src/HAL/shared/backtrace/unwarmbytab.h View File

5
  * This program is PUBLIC DOMAIN.
5
  * This program is PUBLIC DOMAIN.
6
  * This means that there is no copyright and anyone is able to take a copy
6
  * This means that there is no copyright and anyone is able to take a copy
7
  * for free and use it as they wish, with or without modifications, and in
7
  * for free and use it as they wish, with or without modifications, and in
8
- * any context, commerically or otherwise. The only limitation is that I
8
+ * any context, commercially or otherwise. The only limitation is that I
9
  * don't guarantee that the software is fit for any purpose or accept any
9
  * don't guarantee that the software is fit for any purpose or accept any
10
  * liability for its use or misuse - this software is without warranty.
10
  * liability for its use or misuse - this software is without warranty.
11
  ***************************************************************************
11
  ***************************************************************************

+ 1
- 1
Marlin/src/HAL/shared/backtrace/unwarmmem.cpp View File

5
  * This program is PUBLIC DOMAIN.
5
  * This program is PUBLIC DOMAIN.
6
  * This means that there is no copyright and anyone is able to take a copy
6
  * This means that there is no copyright and anyone is able to take a copy
7
  * for free and use it as they wish, with or without modifications, and in
7
  * for free and use it as they wish, with or without modifications, and in
8
- * any context, commerically or otherwise. The only limitation is that I
8
+ * any context, commercially or otherwise. The only limitation is that I
9
  * don't guarantee that the software is fit for any purpose or accept any
9
  * don't guarantee that the software is fit for any purpose or accept any
10
  * liability for its use or misuse - this software is without warranty.
10
  * liability for its use or misuse - this software is without warranty.
11
  ***************************************************************************
11
  ***************************************************************************

+ 1
- 1
Marlin/src/HAL/shared/backtrace/unwarmmem.h View File

5
  * This program is PUBLIC DOMAIN.
5
  * This program is PUBLIC DOMAIN.
6
  * This means that there is no copyright and anyone is able to take a copy
6
  * This means that there is no copyright and anyone is able to take a copy
7
  * for free and use it as they wish, with or without modifications, and in
7
  * for free and use it as they wish, with or without modifications, and in
8
- * any context, commerically or otherwise. The only limitation is that I
8
+ * any context, commercially or otherwise. The only limitation is that I
9
  * don't guarantee that the software is fit for any purpose or accept any
9
  * don't guarantee that the software is fit for any purpose or accept any
10
  * liability for its use or misuse - this software is without warranty.
10
  * liability for its use or misuse - this software is without warranty.
11
  ***************************************************************************
11
  ***************************************************************************

+ 1
- 1
Marlin/src/HAL/shared/backtrace/unwinder.cpp View File

28
 
28
 
29
 // Detect if unwind information is present or not
29
 // Detect if unwind information is present or not
30
 static int HasUnwindTableInfo() {
30
 static int HasUnwindTableInfo() {
31
-  // > 16 because there are default entries we can't supress
31
+  // > 16 because there are default entries we can't suppress
32
   return ((char*)(&__exidx_end) - (char*)(&__exidx_start)) > 16 ? 1 : 0;
32
   return ((char*)(&__exidx_end) - (char*)(&__exidx_start)) > 16 ? 1 : 0;
33
 }
33
 }
34
 
34
 

+ 1
- 1
Marlin/src/HAL/shared/backtrace/unwinder.h View File

5
  * This program is PUBLIC DOMAIN.
5
  * This program is PUBLIC DOMAIN.
6
  * This means that there is no copyright and anyone is able to take a copy
6
  * This means that there is no copyright and anyone is able to take a copy
7
  * for free and use it as they wish, with or without modifications, and in
7
  * for free and use it as they wish, with or without modifications, and in
8
- * any context, commerically or otherwise. The only limitation is that I
8
+ * any context, commercially or otherwise. The only limitation is that I
9
  * don't guarantee that the software is fit for any purpose or accept any
9
  * don't guarantee that the software is fit for any purpose or accept any
10
  * liability for its use or misuse - this software is without warranty.
10
  * liability for its use or misuse - this software is without warranty.
11
  **************************************************************************/
11
  **************************************************************************/

+ 1
- 1
Marlin/src/HAL/shared/backtrace/unwmemaccess.h View File

5
  * This program is PUBLIC DOMAIN.
5
  * This program is PUBLIC DOMAIN.
6
  * This means that there is no copyright and anyone is able to take a copy
6
  * This means that there is no copyright and anyone is able to take a copy
7
  * for free and use it as they wish, with or without modifications, and in
7
  * for free and use it as they wish, with or without modifications, and in
8
- * any context, commerically or otherwise. The only limitation is that I
8
+ * any context, commercially or otherwise. The only limitation is that I
9
  * don't guarantee that the software is fit for any purpose or accept any
9
  * don't guarantee that the software is fit for any purpose or accept any
10
  * liability for its use or misuse - this software is without warranty.
10
  * liability for its use or misuse - this software is without warranty.
11
  ***************************************************************************
11
  ***************************************************************************

+ 1
- 1
Marlin/src/HAL/shared/cpu_exception/exception_arm.cpp View File

345
       // We failed to find a valid vector table size, let's abort hooking up
345
       // We failed to find a valid vector table size, let's abort hooking up
346
       if (vec_size == VECTOR_TABLE_SENTINEL) return;
346
       if (vec_size == VECTOR_TABLE_SENTINEL) return;
347
       // Poor method that's wasting RAM here, but allocating with malloc and alignment would be worst
347
       // Poor method that's wasting RAM here, but allocating with malloc and alignment would be worst
348
-      // 128 bytes alignement is required for writing the VTOR register
348
+      // 128 bytes alignment is required for writing the VTOR register
349
       alignas(128) static unsigned long vectable[VECTOR_TABLE_SENTINEL];
349
       alignas(128) static unsigned long vectable[VECTOR_TABLE_SENTINEL];
350
 
350
 
351
       SERIAL_ECHOPGM("Detected vector table size: ");
351
       SERIAL_ECHOPGM("Detected vector table size: ");

+ 1
- 1
Marlin/src/core/macros.h View File

399
     template <typename T, typename ... Args> struct first_type_of { typedef T type; };
399
     template <typename T, typename ... Args> struct first_type_of { typedef T type; };
400
     template <typename T> struct first_type_of<T> { typedef T type; };
400
     template <typename T> struct first_type_of<T> { typedef T type; };
401
   }
401
   }
402
-  // C++11 solution using SFINAE to detect the existance of a member in a class at compile time.
402
+  // C++11 solution using SFINAE to detect the existence of a member in a class at compile time.
403
   // It creates a HasMember<Type> structure containing 'value' set to true if the member exists
403
   // It creates a HasMember<Type> structure containing 'value' set to true if the member exists
404
   #define HAS_MEMBER_IMPL(Member) \
404
   #define HAS_MEMBER_IMPL(Member) \
405
     namespace Private { \
405
     namespace Private { \

+ 1
- 1
Marlin/src/core/serial_hook.h View File

109
   ConditionalSerial(bool & conditionVariable, SerialT & out, const bool e) : BaseClassT(e), condition(conditionVariable), out(out) {}
109
   ConditionalSerial(bool & conditionVariable, SerialT & out, const bool e) : BaseClassT(e), condition(conditionVariable), out(out) {}
110
 };
110
 };
111
 
111
 
112
-// A simple foward class that taking a reference to an existing serial instance (likely created in their respective framework)
112
+// A simple forward class that taking a reference to an existing serial instance (likely created in their respective framework)
113
 template <class SerialT>
113
 template <class SerialT>
114
 struct ForwardSerial : public SerialBase< ForwardSerial<SerialT> > {
114
 struct ForwardSerial : public SerialBase< ForwardSerial<SerialT> > {
115
   typedef SerialBase< ForwardSerial<SerialT> > BaseClassT;
115
   typedef SerialBase< ForwardSerial<SerialT> > BaseClassT;

+ 1
- 1
Marlin/src/feature/bedlevel/hilbert_curve.cpp View File

35
 
35
 
36
 static inline bool eval_candidate(int8_t x, int8_t y, hilbert_curve::callback_ptr func, void *data) {
36
 static inline bool eval_candidate(int8_t x, int8_t y, hilbert_curve::callback_ptr func, void *data) {
37
   // The print bed likely has fewer points than the full Hilbert
37
   // The print bed likely has fewer points than the full Hilbert
38
-  // curve, so cull unecessary points
38
+  // curve, so cull unnecessary points
39
   return x < (GRID_MAX_POINTS_X) && y < (GRID_MAX_POINTS_Y) ? func(x, y, data) : false;
39
   return x < (GRID_MAX_POINTS_X) && y < (GRID_MAX_POINTS_Y) ? func(x, y, data) : false;
40
 }
40
 }
41
 
41
 

+ 3
- 3
Marlin/src/feature/dac/dac_mcp4728.cpp View File

81
 }
81
 }
82
 
82
 
83
 /**
83
 /**
84
- * Write Voltage reference setting to all input regiters
84
+ * Write Voltage reference setting to all input registers
85
  */
85
  */
86
 uint8_t MCP4728::setVref_all(const uint8_t value) {
86
 uint8_t MCP4728::setVref_all(const uint8_t value) {
87
   Wire.beginTransmission(I2C_ADDRESS(DAC_DEV_ADDRESS));
87
   Wire.beginTransmission(I2C_ADDRESS(DAC_DEV_ADDRESS));
89
   return Wire.endTransmission();
89
   return Wire.endTransmission();
90
 }
90
 }
91
 /**
91
 /**
92
- * Write Gain setting to all input regiters
92
+ * Write Gain setting to all input registers
93
  */
93
  */
94
 uint8_t MCP4728::setGain_all(const uint8_t value) {
94
 uint8_t MCP4728::setGain_all(const uint8_t value) {
95
   Wire.beginTransmission(I2C_ADDRESS(DAC_DEV_ADDRESS));
95
   Wire.beginTransmission(I2C_ADDRESS(DAC_DEV_ADDRESS));
129
 }
129
 }
130
 
130
 
131
 /**
131
 /**
132
- * FastWrite input register values - All DAC ouput update. refer to DATASHEET 5.6.1
132
+ * FastWrite input register values - All DAC output update. refer to DATASHEET 5.6.1
133
  * DAC Input and PowerDown bits update.
133
  * DAC Input and PowerDown bits update.
134
  * No EEPROM update
134
  * No EEPROM update
135
  */
135
  */

+ 1
- 1
Marlin/src/feature/encoder_i2c.cpp View File

94
 
94
 
95
         SERIAL_ECHOLNPAIR("Untrusted encoder module on ", AS_CHAR(axis_codes[encoderAxis]), " axis has been fault-free for set duration, reinstating error correction.");
95
         SERIAL_ECHOLNPAIR("Untrusted encoder module on ", AS_CHAR(axis_codes[encoderAxis]), " axis has been fault-free for set duration, reinstating error correction.");
96
 
96
 
97
-        //the encoder likely lost its place when the error occured, so we'll reset and use the printer's
97
+        //the encoder likely lost its place when the error occurred, so we'll reset and use the printer's
98
         //idea of where it the axis is to re-initialize
98
         //idea of where it the axis is to re-initialize
99
         const float pos = planner.get_axis_position_mm(encoderAxis);
99
         const float pos = planner.get_axis_position_mm(encoderAxis);
100
         int32_t positionInTicks = pos * get_ticks_unit();
100
         int32_t positionInTicks = pos * get_ticks_unit();

+ 1
- 1
Marlin/src/gcode/calibrate/G76_M192_M871.cpp View File

47
  *    Compensation values are deltas to first probe measurement at bed temp. = 60°C.
47
  *    Compensation values are deltas to first probe measurement at bed temp. = 60°C.
48
  *  - The hotend will not be heated at any time.
48
  *  - The hotend will not be heated at any time.
49
  *  - On my Průša MK3S clone I put a piece of paper between the probe and the hotend
49
  *  - On my Průša MK3S clone I put a piece of paper between the probe and the hotend
50
- *    so the hotend fan would not cool my probe constantly. Alternativly you could just
50
+ *    so the hotend fan would not cool my probe constantly. Alternatively you could just
51
  *    make sure the fan is not running while running the calibration process.
51
  *    make sure the fan is not running while running the calibration process.
52
  *
52
  *
53
  *  Probe calibration:
53
  *  Probe calibration:

+ 2
- 2
Marlin/src/gcode/config/M43.cpp View File

288
  *                  S<pin>  - Start Pin number.   If not given, will default to 0
288
  *                  S<pin>  - Start Pin number.   If not given, will default to 0
289
  *                  L<pin>  - End Pin number.   If not given, will default to last pin defined for this board
289
  *                  L<pin>  - End Pin number.   If not given, will default to last pin defined for this board
290
  *                  I<bool> - Flag to ignore Marlin's pin protection.   Use with caution!!!!
290
  *                  I<bool> - Flag to ignore Marlin's pin protection.   Use with caution!!!!
291
- *                  R       - Repeat pulses on each pin this number of times before continueing to next pin
292
- *                  W       - Wait time (in miliseconds) between pulses.  If not given will default to 500
291
+ *                  R       - Repeat pulses on each pin this number of times before continuing to next pin
292
+ *                  W       - Wait time (in milliseconds) between pulses.  If not given will default to 500
293
  *
293
  *
294
  *  M43 S       - Servo probe test
294
  *  M43 S       - Servo probe test
295
  *                  P<index> - Probe index (optional - defaults to 0
295
  *                  P<index> - Probe index (optional - defaults to 0

+ 1
- 1
Marlin/src/gcode/feature/L6470/M906.cpp View File

212
  *     L6474 - current in mA (4A max)
212
  *     L6474 - current in mA (4A max)
213
  *     All others - 0-255
213
  *     All others - 0-255
214
  *
214
  *
215
- * Sets KVAL_HOLD wich affects the current being driven through the stepper.
215
+ * Sets KVAL_HOLD which affects the current being driven through the stepper.
216
  *
216
  *
217
  * L6470 is used in the STEP-CLOCK mode.  KVAL_HOLD is the only KVAL_xxx
217
  * L6470 is used in the STEP-CLOCK mode.  KVAL_HOLD is the only KVAL_xxx
218
  * that affects the effective voltage seen by the stepper.
218
  * that affects the effective voltage seen by the stepper.

+ 1
- 1
Marlin/src/gcode/feature/L6470/M916-918.cpp View File

177
   if ((status_composite & (sh.STATUS_AXIS_TH_WRN | sh.STATUS_AXIS_TH_SD)))
177
   if ((status_composite & (sh.STATUS_AXIS_TH_WRN | sh.STATUS_AXIS_TH_SD)))
178
     DEBUG_ECHOLNPGM(".\n.\nTest completed normally - Thermal warning/shutdown has occurred");
178
     DEBUG_ECHOLNPGM(".\n.\nTest completed normally - Thermal warning/shutdown has occurred");
179
   else if (status_composite)
179
   else if (status_composite)
180
-    DEBUG_ECHOLNPGM(".\n.\nTest completed abnormally - non-thermal error has occured");
180
+    DEBUG_ECHOLNPGM(".\n.\nTest completed abnormally - non-thermal error has occurred");
181
   else
181
   else
182
     DEBUG_ECHOLNPGM(".\n.\nTest completed normally - Unable to get to thermal warning/shutdown");
182
     DEBUG_ECHOLNPGM(".\n.\nTest completed normally - Unable to get to thermal warning/shutdown");
183
 
183
 

+ 1
- 1
Marlin/src/inc/Conditionals_LCD.h View File

220
     #define LCD_PROGRESS_BAR
220
     #define LCD_PROGRESS_BAR
221
   #endif
221
   #endif
222
   #if ENABLED(TFTGLCD_PANEL_I2C)
222
   #if ENABLED(TFTGLCD_PANEL_I2C)
223
-    #define LCD_I2C_ADDRESS           0x33  // Must be 0x33 for STM32 main boards and equal to panel's I2C slave addres
223
+    #define LCD_I2C_ADDRESS           0x33  // Must be 0x33 for STM32 main boards and equal to panel's I2C slave address
224
   #endif
224
   #endif
225
   #define LCD_USE_I2C_BUZZER                // Enable buzzer on LCD, used for both I2C and SPI buses (LiquidTWI2 not required)
225
   #define LCD_USE_I2C_BUZZER                // Enable buzzer on LCD, used for both I2C and SPI buses (LiquidTWI2 not required)
226
   #define STD_ENCODER_PULSES_PER_STEP 2
226
   #define STD_ENCODER_PULSES_PER_STEP 2

+ 1
- 1
Marlin/src/lcd/HD44780/marlinui_HD44780.cpp View File

1321
         y_map_pixels = pixels_per_y_mesh_pnt * (GRID_MAX_POINTS_Y);         // Directions fit nicely
1321
         y_map_pixels = pixels_per_y_mesh_pnt * (GRID_MAX_POINTS_Y);         // Directions fit nicely
1322
 
1322
 
1323
         right_edge   = pixels_per_x_mesh_pnt * (GRID_MAX_POINTS_X) + 1;     // Find location of right edge within the character cell
1323
         right_edge   = pixels_per_x_mesh_pnt * (GRID_MAX_POINTS_X) + 1;     // Find location of right edge within the character cell
1324
-        bottom_line  = pixels_per_y_mesh_pnt * (GRID_MAX_POINTS_Y) + 1;     // Find location of bottome line within the character cell
1324
+        bottom_line  = pixels_per_y_mesh_pnt * (GRID_MAX_POINTS_Y) + 1;     // Find location of bottom line within the character cell
1325
 
1325
 
1326
         n_rows = bottom_line / (HD44780_CHAR_HEIGHT) + 1;
1326
         n_rows = bottom_line / (HD44780_CHAR_HEIGHT) + 1;
1327
         n_cols = right_edge / (HD44780_CHAR_WIDTH) + 1;
1327
         n_cols = right_edge / (HD44780_CHAR_WIDTH) + 1;

+ 3
- 3
Marlin/src/lcd/TFTGLCD/marlinui_TFTGLCD.cpp View File

98
 #define COLOR_EDIT      '#'
98
 #define COLOR_EDIT      '#'
99
 #define COLOR_ERROR     '!'
99
 #define COLOR_ERROR     '!'
100
 
100
 
101
-#ifdef CONVERT_TO_EXT_ASCII   //use standart pseudographic symbols in ASCII table
101
+#ifdef CONVERT_TO_EXT_ASCII   //use standard pseudographic symbols in ASCII table
102
   #define LR            179   //vertical line
102
   #define LR            179   //vertical line
103
   #define TRC           191   //top right corner
103
   #define TRC           191   //top right corner
104
   #define BLC           192   //bottom left corner
104
   #define BLC           192   //bottom left corner
401
     //
401
     //
402
     uint8_t indent = (LCD_WIDTH - 8) / 2;
402
     uint8_t indent = (LCD_WIDTH - 8) / 2;
403
     // symbols 217 (bottom right corner) and 218 (top left corner) are using for letters in some languages
403
     // symbols 217 (bottom right corner) and 218 (top left corner) are using for letters in some languages
404
-    // and they should be moved to begining ASCII table as spetial symbols
404
+    // and they should be moved to beginning ASCII table as special symbols
405
     lcd.setCursor(indent, 0); lcd.write(TLC); lcd_put_u8str_P(PSTR("------"));  lcd.write(TRC);
405
     lcd.setCursor(indent, 0); lcd.write(TLC); lcd_put_u8str_P(PSTR("------"));  lcd.write(TRC);
406
     lcd.setCursor(indent, 1); lcd.write(LR);  lcd_put_u8str_P(PSTR("Marlin"));  lcd.write(LR);
406
     lcd.setCursor(indent, 1); lcd.write(LR);  lcd_put_u8str_P(PSTR("Marlin"));  lcd.write(LR);
407
     lcd.setCursor(indent, 2); lcd.write(BLC); lcd_put_u8str_P(PSTR("------"));  lcd.write(BRC);
407
     lcd.setCursor(indent, 2); lcd.write(BLC); lcd_put_u8str_P(PSTR("------"));  lcd.write(BRC);
733
 |                    |
733
 |                    |
734
 |  HE  BED  FAN      |
734
 |  HE  BED  FAN      |
735
 | ttc  ttc   %       | ttc - current temperature
735
 | ttc  ttc   %       | ttc - current temperature
736
-| tts  tts  %%%      | tts - setted temperature, %%% - percent for FAN
736
+| tts  tts  %%%      | tts - set temperature, %%% - percent for FAN
737
 | ICO  ICO  ICO  ICO | ICO - icon 48x48, placed in 2 text lines
737
 | ICO  ICO  ICO  ICO | ICO - icon 48x48, placed in 2 text lines
738
 | ICO  ICO  ICO  ICO | ICO
738
 | ICO  ICO  ICO  ICO | ICO
739
 
739
 

+ 1
- 1
Marlin/src/lcd/dogm/status_screen_lite_ST7920.cpp View File

447
  * data buffer (DDRAM) to be used in conjunction with the graphics
447
  * data buffer (DDRAM) to be used in conjunction with the graphics
448
  * bitmap buffer (CGRAM). The contents of the graphics buffer is
448
  * bitmap buffer (CGRAM). The contents of the graphics buffer is
449
  * XORed with the data from the character generator. This allows
449
  * XORed with the data from the character generator. This allows
450
- * us to make the progess bar out of graphical data (the bar) and
450
+ * us to make the progress bar out of graphical data (the bar) and
451
  * text data (the percentage).
451
  * text data (the percentage).
452
  */
452
  */
453
 void ST7920_Lite_Status_Screen::draw_progress_bar(const uint8_t value) {
453
 void ST7920_Lite_Status_Screen::draw_progress_bar(const uint8_t value) {

+ 1
- 1
Marlin/src/lcd/dogm/u8g_dev_st7920_128x64_HAL.cpp View File

73
   0x038,              // 8 Bit interface (DL=1), basic instruction set (RE=0)
73
   0x038,              // 8 Bit interface (DL=1), basic instruction set (RE=0)
74
   0x00C,              // display on, cursor & blink off; 0x08: all off
74
   0x00C,              // display on, cursor & blink off; 0x08: all off
75
   0x006,              // Entry mode: Cursor move to right, DDRAM address counter (AC) plus 1, no shift
75
   0x006,              // Entry mode: Cursor move to right, DDRAM address counter (AC) plus 1, no shift
76
-  0x002,              // disable scroll, enable CGRAM adress
76
+  0x002,              // disable scroll, enable CGRAM address
77
   0x001,              // clear RAM, needs 1.6 ms
77
   0x001,              // clear RAM, needs 1.6 ms
78
   U8G_ESC_DLY(100),   // delay 100 ms
78
   U8G_ESC_DLY(100),   // delay 100 ms
79
 
79
 

+ 3
- 3
Marlin/src/lcd/extui/anycubic_chiron/chiron_tft.cpp View File

208
     case AC_printer_resuming_from_power_outage:
208
     case AC_printer_resuming_from_power_outage:
209
     case AC_printer_printing:
209
     case AC_printer_printing:
210
     case AC_printer_paused: {
210
     case AC_printer_paused: {
211
-      // Heater timout, send acknowledgement
211
+      // Heater timeout, send acknowledgement
212
       if (strcmp_P(msg, MARLIN_msg_heater_timeout) == 0) {
212
       if (strcmp_P(msg, MARLIN_msg_heater_timeout) == 0) {
213
         pause_state = AC_paused_heater_timed_out;
213
         pause_state = AC_paused_heater_timed_out;
214
         SendtoTFTLN(AC_msg_paused); // enable continue button
214
         SendtoTFTLN(AC_msg_paused); // enable continue button
248
         printer_state = AC_printer_idle;
248
         printer_state = AC_printer_idle;
249
         msg_matched = true;
249
         msg_matched = true;
250
       }
250
       }
251
-      // If probing fails dont save the mesh raise the probe above the bad point
251
+      // If probing fails don't save the mesh raise the probe above the bad point
252
       if (strcmp_P(msg, MARLIN_msg_probing_failed) == 0) {
252
       if (strcmp_P(msg, MARLIN_msg_probing_failed) == 0) {
253
         PlayTune(BEEPER_PIN, BeepBeepBeeep, 1);
253
         PlayTune(BEEPER_PIN, BeepBeepBeeep, 1);
254
         injectCommands_P(PSTR("G1 Z50 F500"));
254
         injectCommands_P(PSTR("G1 Z50 F500"));
622
       break;
622
       break;
623
 
623
 
624
     case 14: { // A14 Start Printing
624
     case 14: { // A14 Start Printing
625
-      // Allows printer to restart the job if we dont want to recover
625
+      // Allows printer to restart the job if we don't want to recover
626
       if (printer_state == AC_printer_resuming_from_power_outage) {
626
       if (printer_state == AC_printer_resuming_from_power_outage) {
627
         injectCommands_P(PSTR("M1000 C")); // Cancel recovery
627
         injectCommands_P(PSTR("M1000 C")); // Cancel recovery
628
         printer_state = AC_printer_idle;
628
         printer_state = AC_printer_idle;

+ 1
- 1
Marlin/src/lcd/extui/dgus/DGUSDisplay.h View File

93
   // Helper for users of this class to estimate if an interaction would be blocking.
93
   // Helper for users of this class to estimate if an interaction would be blocking.
94
   static size_t GetFreeTxBuffer();
94
   static size_t GetFreeTxBuffer();
95
 
95
 
96
-  // Checks two things: Can we confirm the presence of the display and has we initiliazed it.
96
+  // Checks two things: Can we confirm the presence of the display and has we initialized it.
97
   // (both boils down that the display answered to our chatting)
97
   // (both boils down that the display answered to our chatting)
98
   static inline bool isInitialized() { return Initialized; }
98
   static inline bool isInitialized() { return Initialized; }
99
 
99
 

+ 1
- 1
Marlin/src/lcd/extui/dgus/fysetc/DGUSDisplayDef.cpp View File

466
     VPHELPER(VP_WAITING_STATUS, nullptr, nullptr, ScreenHandler.DGUSLCD_SendWaitingStatusToDisplay),
466
     VPHELPER(VP_WAITING_STATUS, nullptr, nullptr, ScreenHandler.DGUSLCD_SendWaitingStatusToDisplay),
467
   #endif
467
   #endif
468
 
468
 
469
-  // Messages for the User, shared by the popup and the kill screen. They cant be autouploaded as we do not buffer content.
469
+  // Messages for the User, shared by the popup and the kill screen. They can't be autouploaded as we do not buffer content.
470
   { .VP = VP_MSGSTR1, .memadr = nullptr, .size = VP_MSGSTR1_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM },
470
   { .VP = VP_MSGSTR1, .memadr = nullptr, .size = VP_MSGSTR1_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM },
471
   { .VP = VP_MSGSTR2, .memadr = nullptr, .size = VP_MSGSTR2_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM },
471
   { .VP = VP_MSGSTR2, .memadr = nullptr, .size = VP_MSGSTR2_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM },
472
   { .VP = VP_MSGSTR3, .memadr = nullptr, .size = VP_MSGSTR3_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM },
472
   { .VP = VP_MSGSTR3, .memadr = nullptr, .size = VP_MSGSTR3_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM },

+ 1
- 1
Marlin/src/lcd/extui/dgus/fysetc/DGUSDisplayDef.h View File

282
 constexpr uint16_t VP_BED_PID_I = 0x3712;
282
 constexpr uint16_t VP_BED_PID_I = 0x3712;
283
 constexpr uint16_t VP_BED_PID_D = 0x3714;
283
 constexpr uint16_t VP_BED_PID_D = 0x3714;
284
 
284
 
285
-// Wating screen status
285
+// Waiting screen status
286
 constexpr uint16_t VP_WAITING_STATUS = 0x3800;
286
 constexpr uint16_t VP_WAITING_STATUS = 0x3800;
287
 
287
 
288
 // SPs for certain variables...
288
 // SPs for certain variables...

+ 1
- 1
Marlin/src/lcd/extui/dgus/fysetc/DGUSScreenHandler.cpp View File

161
     }
161
     }
162
   #endif
162
   #endif
163
   char axiscode;
163
   char axiscode;
164
-  unsigned int speed = 1500; // FIXME: get default feedrate for manual moves, dont hardcode.
164
+  unsigned int speed = 1500; // FIXME: get default feedrate for manual moves, don't hardcode.
165
 
165
 
166
   switch (var.VP) {
166
   switch (var.VP) {
167
     default: return;
167
     default: return;

+ 1
- 1
Marlin/src/lcd/extui/dgus/fysetc/DGUSScreenHandler.h View File

36
   static bool loop();
36
   static bool loop();
37
 
37
 
38
   // Send all 4 strings that are displayed on the infoscreen, confirmation screen and kill screen
38
   // Send all 4 strings that are displayed on the infoscreen, confirmation screen and kill screen
39
-  // The bools specifing whether the strings are in RAM or FLASH.
39
+  // The bools specifying whether the strings are in RAM or FLASH.
40
   static void sendinfoscreen(const char *line1, const char *line2, const char *line3, const char *line4, bool l1inflash, bool l2inflash, bool l3inflash, bool liinflash);
40
   static void sendinfoscreen(const char *line1, const char *line2, const char *line3, const char *line4, bool l1inflash, bool l2inflash, bool l3inflash, bool liinflash);
41
 
41
 
42
   static void HandleUserConfirmationPopUp(uint16_t ConfirmVP, const char *line1, const char *line2, const char *line3, const char *line4, bool l1inflash, bool l2inflash, bool l3inflash, bool liinflash);
42
   static void HandleUserConfirmationPopUp(uint16_t ConfirmVP, const char *line1, const char *line2, const char *line3, const char *line4, bool l1inflash, bool l2inflash, bool l3inflash, bool liinflash);

+ 1
- 1
Marlin/src/lcd/extui/dgus/hiprecy/DGUSDisplayDef.cpp View File

465
     VPHELPER(VP_WAITING_STATUS, nullptr, nullptr, ScreenHandler.DGUSLCD_SendWaitingStatusToDisplay),
465
     VPHELPER(VP_WAITING_STATUS, nullptr, nullptr, ScreenHandler.DGUSLCD_SendWaitingStatusToDisplay),
466
   #endif
466
   #endif
467
 
467
 
468
-  // Messages for the User, shared by the popup and the kill screen. They cant be autouploaded as we do not buffer content.
468
+  // Messages for the User, shared by the popup and the kill screen. They can't be autouploaded as we do not buffer content.
469
   { .VP = VP_MSGSTR1, .memadr = nullptr, .size = VP_MSGSTR1_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM },
469
   { .VP = VP_MSGSTR1, .memadr = nullptr, .size = VP_MSGSTR1_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM },
470
   { .VP = VP_MSGSTR2, .memadr = nullptr, .size = VP_MSGSTR2_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM },
470
   { .VP = VP_MSGSTR2, .memadr = nullptr, .size = VP_MSGSTR2_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM },
471
   { .VP = VP_MSGSTR3, .memadr = nullptr, .size = VP_MSGSTR3_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM },
471
   { .VP = VP_MSGSTR3, .memadr = nullptr, .size = VP_MSGSTR3_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM },

+ 1
- 1
Marlin/src/lcd/extui/dgus/hiprecy/DGUSDisplayDef.h View File

278
 constexpr uint16_t VP_BED_PID_I = 0x3712;
278
 constexpr uint16_t VP_BED_PID_I = 0x3712;
279
 constexpr uint16_t VP_BED_PID_D = 0x3714;
279
 constexpr uint16_t VP_BED_PID_D = 0x3714;
280
 
280
 
281
-// Wating screen status
281
+// Waiting screen status
282
 constexpr uint16_t VP_WAITING_STATUS = 0x3800;
282
 constexpr uint16_t VP_WAITING_STATUS = 0x3800;
283
 
283
 
284
 // SPs for certain variables...
284
 // SPs for certain variables...

+ 1
- 1
Marlin/src/lcd/extui/dgus/hiprecy/DGUSScreenHandler.cpp View File

161
     }
161
     }
162
   #endif
162
   #endif
163
   char axiscode;
163
   char axiscode;
164
-  unsigned int speed = 1500; // FIXME: get default feedrate for manual moves, dont hardcode.
164
+  unsigned int speed = 1500; // FIXME: get default feedrate for manual moves, don't hardcode.
165
 
165
 
166
   switch (var.VP) {
166
   switch (var.VP) {
167
     default: return;
167
     default: return;

+ 1
- 1
Marlin/src/lcd/extui/dgus/hiprecy/DGUSScreenHandler.h View File

36
   static bool loop();
36
   static bool loop();
37
 
37
 
38
   // Send all 4 strings that are displayed on the infoscreen, confirmation screen and kill screen
38
   // Send all 4 strings that are displayed on the infoscreen, confirmation screen and kill screen
39
-  // The bools specifing whether the strings are in RAM or FLASH.
39
+  // The bools specifying whether the strings are in RAM or FLASH.
40
   static void sendinfoscreen(const char *line1, const char *line2, const char *line3, const char *line4, bool l1inflash, bool l2inflash, bool l3inflash, bool liinflash);
40
   static void sendinfoscreen(const char *line1, const char *line2, const char *line3, const char *line4, bool l1inflash, bool l2inflash, bool l3inflash, bool liinflash);
41
 
41
 
42
   static void HandleUserConfirmationPopUp(uint16_t ConfirmVP, const char *line1, const char *line2, const char *line3, const char *line4, bool l1inflash, bool l2inflash, bool l3inflash, bool liinflash);
42
   static void HandleUserConfirmationPopUp(uint16_t ConfirmVP, const char *line1, const char *line2, const char *line3, const char *line4, bool l1inflash, bool l2inflash, bool l3inflash, bool liinflash);

+ 1
- 1
Marlin/src/lcd/extui/dgus/mks/DGUSDisplayDef.cpp View File

785
     VPHELPER(VP_WAITING_STATUS, nullptr, nullptr, ScreenHandler.DGUSLCD_SendWaitingStatusToDisplay),
785
     VPHELPER(VP_WAITING_STATUS, nullptr, nullptr, ScreenHandler.DGUSLCD_SendWaitingStatusToDisplay),
786
   #endif
786
   #endif
787
 
787
 
788
-  // Messages for the User, shared by the popup and the kill screen. They cant be autouploaded as we do not buffer content.
788
+  // Messages for the User, shared by the popup and the kill screen. They can't be autouploaded as we do not buffer content.
789
   //{.VP = VP_MSGSTR1, .memadr = nullptr, .size = VP_MSGSTR1_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM},
789
   //{.VP = VP_MSGSTR1, .memadr = nullptr, .size = VP_MSGSTR1_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM},
790
   //{.VP = VP_MSGSTR2, .memadr = nullptr, .size = VP_MSGSTR2_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM},
790
   //{.VP = VP_MSGSTR2, .memadr = nullptr, .size = VP_MSGSTR2_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM},
791
   //{.VP = VP_MSGSTR3, .memadr = nullptr, .size = VP_MSGSTR3_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM},
791
   //{.VP = VP_MSGSTR3, .memadr = nullptr, .size = VP_MSGSTR3_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM},

+ 1
- 1
Marlin/src/lcd/extui/dgus/mks/DGUSDisplayDef.h View File

266
 // constexpr uint16_t VP_BED_PID_I = 0x3712;
266
 // constexpr uint16_t VP_BED_PID_I = 0x3712;
267
 // constexpr uint16_t VP_BED_PID_D = 0x3714;
267
 // constexpr uint16_t VP_BED_PID_D = 0x3714;
268
 
268
 
269
-// Wating screen status
269
+// Waiting screen status
270
 constexpr uint16_t VP_WAITING_STATUS = 0x3800;
270
 constexpr uint16_t VP_WAITING_STATUS = 0x3800;
271
 
271
 
272
 // SPs for certain variables...
272
 // SPs for certain variables...

+ 1
- 1
Marlin/src/lcd/extui/dgus/mks/DGUSScreenHandler.cpp View File

762
     return;
762
     return;
763
 
763
 
764
   char axiscode;
764
   char axiscode;
765
-  unsigned int speed = 1500; // FIXME: get default feedrate for manual moves, dont hardcode.
765
+  unsigned int speed = 1500; // FIXME: get default feedrate for manual moves, don't hardcode.
766
 
766
 
767
   switch (var.VP) { // switch X Y Z or Home
767
   switch (var.VP) { // switch X Y Z or Home
768
     default: return;
768
     default: return;

+ 1
- 1
Marlin/src/lcd/extui/dgus/mks/DGUSScreenHandler.h View File

36
   static bool loop();
36
   static bool loop();
37
 
37
 
38
   // Send all 4 strings that are displayed on the infoscreen, confirmation screen and kill screen
38
   // Send all 4 strings that are displayed on the infoscreen, confirmation screen and kill screen
39
-  // The bools specifing whether the strings are in RAM or FLASH.
39
+  // The bools specifying whether the strings are in RAM or FLASH.
40
   static void sendinfoscreen(const char *line1, const char *line2, const char *line3, const char *line4, bool l1inflash, bool l2inflash, bool l3inflash, bool liinflash);
40
   static void sendinfoscreen(const char *line1, const char *line2, const char *line3, const char *line4, bool l1inflash, bool l2inflash, bool l3inflash, bool liinflash);
41
 
41
 
42
   static void HandleUserConfirmationPopUp(uint16_t ConfirmVP, const char *line1, const char *line2, const char *line3, const char *line4, bool l1inflash, bool l2inflash, bool l3inflash, bool liinflash);
42
   static void HandleUserConfirmationPopUp(uint16_t ConfirmVP, const char *line1, const char *line2, const char *line3, const char *line4, bool l1inflash, bool l2inflash, bool l3inflash, bool liinflash);

+ 1
- 1
Marlin/src/lcd/extui/dgus/origin/DGUSDisplayDef.cpp View File

267
     VPHELPER(VP_WAITING_STATUS, nullptr, nullptr, ScreenHandler.DGUSLCD_SendWaitingStatusToDisplay),
267
     VPHELPER(VP_WAITING_STATUS, nullptr, nullptr, ScreenHandler.DGUSLCD_SendWaitingStatusToDisplay),
268
   #endif
268
   #endif
269
 
269
 
270
-  // Messages for the User, shared by the popup and the kill screen. They cant be autouploaded as we do not buffer content.
270
+  // Messages for the User, shared by the popup and the kill screen. They can't be autouploaded as we do not buffer content.
271
   { .VP = VP_MSGSTR1, .memadr = nullptr, .size = VP_MSGSTR1_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM },
271
   { .VP = VP_MSGSTR1, .memadr = nullptr, .size = VP_MSGSTR1_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM },
272
   { .VP = VP_MSGSTR2, .memadr = nullptr, .size = VP_MSGSTR2_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM },
272
   { .VP = VP_MSGSTR2, .memadr = nullptr, .size = VP_MSGSTR2_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM },
273
   { .VP = VP_MSGSTR3, .memadr = nullptr, .size = VP_MSGSTR3_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM },
273
   { .VP = VP_MSGSTR3, .memadr = nullptr, .size = VP_MSGSTR3_LEN, .set_by_display_handler = nullptr, .send_to_display_handler = ScreenHandler.DGUSLCD_SendStringToDisplayPGM },

+ 1
- 1
Marlin/src/lcd/extui/dgus/origin/DGUSDisplayDef.h View File

268
 constexpr uint16_t VP_BED_PID_I = 0x3712;
268
 constexpr uint16_t VP_BED_PID_I = 0x3712;
269
 constexpr uint16_t VP_BED_PID_D = 0x3714;
269
 constexpr uint16_t VP_BED_PID_D = 0x3714;
270
 
270
 
271
-// Wating screen status
271
+// Waiting screen status
272
 constexpr uint16_t VP_WAITING_STATUS = 0x3800;
272
 constexpr uint16_t VP_WAITING_STATUS = 0x3800;
273
 
273
 
274
 // SPs for certain variables...
274
 // SPs for certain variables...

+ 1
- 1
Marlin/src/lcd/extui/dgus/origin/DGUSScreenHandler.cpp View File

161
     }
161
     }
162
   #endif
162
   #endif
163
   char axiscode;
163
   char axiscode;
164
-  unsigned int speed = 1500; // FIXME: get default feedrate for manual moves, dont hardcode.
164
+  unsigned int speed = 1500; // FIXME: get default feedrate for manual moves, don't hardcode.
165
 
165
 
166
   switch (var.VP) {
166
   switch (var.VP) {
167
     default: return;
167
     default: return;

+ 1
- 1
Marlin/src/lcd/extui/dgus/origin/DGUSScreenHandler.h View File

36
   static bool loop();
36
   static bool loop();
37
 
37
 
38
   // Send all 4 strings that are displayed on the infoscreen, confirmation screen and kill screen
38
   // Send all 4 strings that are displayed on the infoscreen, confirmation screen and kill screen
39
-  // The bools specifing whether the strings are in RAM or FLASH.
39
+  // The bools specifying whether the strings are in RAM or FLASH.
40
   static void sendinfoscreen(const char *line1, const char *line2, const char *line3, const char *line4, bool l1inflash, bool l2inflash, bool l3inflash, bool liinflash);
40
   static void sendinfoscreen(const char *line1, const char *line2, const char *line3, const char *line4, bool l1inflash, bool l2inflash, bool l3inflash, bool liinflash);
41
 
41
 
42
   static void HandleUserConfirmationPopUp(uint16_t ConfirmVP, const char *line1, const char *line2, const char *line3, const char *line4, bool l1inflash, bool l2inflash, bool l3inflash, bool liinflash);
42
   static void HandleUserConfirmationPopUp(uint16_t ConfirmVP, const char *line1, const char *line2, const char *line3, const char *line4, bool l1inflash, bool l2inflash, bool l3inflash, bool liinflash);

+ 1
- 1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/archim2-flash/flash_storage.cpp View File

206
 
206
 
207
   /* In order to provide some degree of wear leveling, each data write to the
207
   /* In order to provide some degree of wear leveling, each data write to the
208
    * SPI Flash chip is appended to data that was already written before, until
208
    * SPI Flash chip is appended to data that was already written before, until
209
-   * the data storage area is completely filled. New data is written preceeded
209
+   * the data storage area is completely filled. New data is written preceded
210
    * with a 32-bit delimiter 'LULZ', so that we can distinguish written and
210
    * with a 32-bit delimiter 'LULZ', so that we can distinguish written and
211
    * unwritten data:
211
    * unwritten data:
212
    *
212
    *

+ 1
- 1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/basic/commands.cpp View File

1079
 
1079
 
1080
 void CLCD::init() {
1080
 void CLCD::init() {
1081
   spi_init();                                  // Set Up I/O Lines for SPI and FT800/810 Control
1081
   spi_init();                                  // Set Up I/O Lines for SPI and FT800/810 Control
1082
-  ftdi_reset();                                // Power down/up the FT8xx with the apropriate delays
1082
+  ftdi_reset();                                // Power down/up the FT8xx with the appropriate delays
1083
 
1083
 
1084
   host_cmd(Use_Crystal ? CLKEXT : CLKINT, 0);
1084
   host_cmd(Use_Crystal ? CLKEXT : CLKINT, 0);
1085
   host_cmd(FTDI::ACTIVE, 0);                        // Activate the System Clock
1085
   host_cmd(FTDI::ACTIVE, 0);                        // Activate the System Clock

+ 1
- 1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/basic/commands.h View File

70
   *
70
   *
71
   * CommandFifo::fgcolor               Set Graphic Item Foreground Color      *
71
   * CommandFifo::fgcolor               Set Graphic Item Foreground Color      *
72
   * CommandFifo::bgcolor               Set Graphic Item Background Color      *
72
   * CommandFifo::bgcolor               Set Graphic Item Background Color      *
73
-  * CommandFifo::begin()               Begin Drawing a Primative              *
73
+  * CommandFifo::begin()               Begin Drawing a Primitive              *
74
   * CommandFifo::mem_copy()            Copy a Block of Memory                 *
74
   * CommandFifo::mem_copy()            Copy a Block of Memory                 *
75
   * CommandFifo::append()              Append Commands to Current DL          *
75
   * CommandFifo::append()              Append Commands to Current DL          *
76
   * CommandFifo::gradient_color()      Set 3D Button Highlight Color          *
76
   * CommandFifo::gradient_color()      Set 3D Button Highlight Color          *

+ 2
- 2
Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/command_processor.h View File

65
     uint8_t _style = 0;
65
     uint8_t _style = 0;
66
 
66
 
67
   protected:
67
   protected:
68
-    // Returns the cannonical thickness of a widget (i.e. the height of a toggle element)
68
+    // Returns the canonical thickness of a widget (i.e. the height of a toggle element)
69
     uint16_t widget_thickness() {
69
     uint16_t widget_thickness() {
70
       CLCD::FontMetrics fm(_font);
70
       CLCD::FontMetrics fm(_font);
71
       return fm.height * 20.0/16;
71
       return fm.height * 20.0/16;
251
       return toggle(x, y, w, h, text, state, options);
251
       return toggle(x, y, w, h, text, state, options);
252
     }
252
     }
253
 
253
 
254
-    // Contrained drawing routines. These constrain the widget inside a box for easier layout.
254
+    // Constrained drawing routines. These constrain the widget inside a box for easier layout.
255
     // The FORCEDINLINE ensures that the code is inlined so that all the math is done at compile time.
255
     // The FORCEDINLINE ensures that the code is inlined so that all the math is done at compile time.
256
 
256
 
257
     FORCEDINLINE CommandProcessor& track_linear(int16_t x, int16_t y, int16_t w, int16_t h, int16_t tag) {
257
     FORCEDINLINE CommandProcessor& track_linear(int16_t x, int16_t y, int16_t w, int16_t h, int16_t tag) {

+ 1
- 1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/event_loop.cpp View File

108
    *  - Dispatches onTouchStart and onTouchEnd events to the active screen.
108
    *  - Dispatches onTouchStart and onTouchEnd events to the active screen.
109
    *  - Handles auto-repetition by sending onTouchHeld to the active screen periodically.
109
    *  - Handles auto-repetition by sending onTouchHeld to the active screen periodically.
110
    *  - Plays touch feedback "click" sounds when appropriate.
110
    *  - Plays touch feedback "click" sounds when appropriate.
111
-   *  - Performs debouncing to supress spurious touch events.
111
+   *  - Performs debouncing to suppress spurious touch events.
112
    */
112
    */
113
   void EventLoop::process_events() {
113
   void EventLoop::process_events() {
114
     // If the LCD is processing commands, don't check
114
     // If the LCD is processing commands, don't check

+ 1
- 1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/poly_ui.h View File

272
       if (clip) {
272
       if (clip) {
273
         // Clipping reduces the number of pixels that are
273
         // Clipping reduces the number of pixels that are
274
         // filled, allowing more complex shapes to be drawn
274
         // filled, allowing more complex shapes to be drawn
275
-        // in the alloted time.
275
+        // in the allotted time.
276
         bounds(r, x, y, w, h);
276
         bounds(r, x, y, w, h);
277
         cmd.cmd(SAVE_CONTEXT());
277
         cmd.cmd(SAVE_CONTEXT());
278
         cmd.cmd(SCISSOR_XY(x, y));
278
         cmd.cmd(SCISSOR_XY(x, y));

+ 1
- 1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/polygon.h View File

41
  *        ...
41
  *        ...
42
  *   p.end_fill();
42
  *   p.end_fill();
43
  *
43
  *
44
- * Based on the example from "Applicaton Note AN_334, FT801 Polygon Application":
44
+ * Based on the example from "Application Note AN_334, FT801 Polygon Application":
45
  *
45
  *
46
  *   https://brtchip.com/wp-content/uploads/Support/Documentation/Application_Notes/ICs/EVE/AN_334-FT801_Polygon_Application.pdf
46
  *   https://brtchip.com/wp-content/uploads/Support/Documentation/Application_Notes/ICs/EVE/AN_334-FT801_Polygon_Application.pdf
47
  */
47
  */

+ 1
- 1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/screen_types.h View File

152
 #define AT_SCREEN(screen)     (current_screen.getType() == current_screen.lookupScreen(screen::onRedraw))
152
 #define AT_SCREEN(screen)     (current_screen.getType() == current_screen.lookupScreen(screen::onRedraw))
153
 #define IS_PARENT_SCREEN(screen) (current_screen.peek() == current_screen.lookupScreen(screen::onRedraw))
153
 #define IS_PARENT_SCREEN(screen) (current_screen.peek() == current_screen.lookupScreen(screen::onRedraw))
154
 
154
 
155
-/************************** CACHED VS UNCHACHED SCREENS ***************************/
155
+/************************** CACHED VS UNCACHED SCREENS ***************************/
156
 
156
 
157
 class UncachedScreen {
157
 class UncachedScreen {
158
   public:
158
   public:

+ 1
- 1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/tiny_timer.h View File

28
 
28
 
29
 /* tiny_interval_t downsamples a 32-bit millis() value
29
 /* tiny_interval_t downsamples a 32-bit millis() value
30
    into a 8-bit value which can record periods of
30
    into a 8-bit value which can record periods of
31
-   a few seconds with a rougly 1/16th of second
31
+   a few seconds with a roughly 1/16th of second
32
    resolution. This allows us to measure small
32
    resolution. This allows us to measure small
33
    intervals without needing to use four-byte counters.
33
    intervals without needing to use four-byte counters.
34
  */
34
  */

+ 1
- 1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/svg2cpp.py View File

164
 
164
 
165
   def process_svg_path_data_cmd(self, id, cmd, a, b):
165
   def process_svg_path_data_cmd(self, id, cmd, a, b):
166
     """Converts the various types of moves into L or M commands
166
     """Converts the various types of moves into L or M commands
167
-    and dispatches to process_svg_path_L_or_M for futher processing."""
167
+    and dispatches to process_svg_path_L_or_M for further processing."""
168
     if cmd == "Z" or cmd == "z":
168
     if cmd == "Z" or cmd == "z":
169
       self.process_svg_path_L_or_M("L", self.initial_x, self.initial_y)
169
       self.process_svg_path_L_or_M("L", self.initial_x, self.initial_y)
170
     elif cmd == "H":
170
     elif cmd == "H":

+ 1
- 1
Marlin/src/lcd/extui/mks_ui/SPIFlashStorage.cpp View File

204
       return;
204
       return;
205
     }
205
     }
206
 
206
 
207
-    // Part of the m_pageData was compressed, so ajust the pointers, freeing what was processed, shift the buffer
207
+    // Part of the m_pageData was compressed, so adjust the pointers, freeing what was processed, shift the buffer
208
     // TODO: To avoid this copy, use a circular buffer
208
     // TODO: To avoid this copy, use a circular buffer
209
     memmove(m_pageData, m_pageData + inputProcessed, m_pageDataUsed - inputProcessed);
209
     memmove(m_pageData, m_pageData + inputProcessed, m_pageDataUsed - inputProcessed);
210
     m_pageDataUsed -= inputProcessed;
210
     m_pageDataUsed -= inputProcessed;

+ 1
- 1
Marlin/src/lcd/extui/mks_ui/SPIFlashStorage.h View File

55
  *
55
  *
56
  * When reading, it loads a full page from SPI Flash at once and
56
  * When reading, it loads a full page from SPI Flash at once and
57
  * keeps it in a private SRAM buffer. Data is loaded as needed to
57
  * keeps it in a private SRAM buffer. Data is loaded as needed to
58
- * fullfill requests. Sequential reads are optimal.
58
+ * fulfill requests. Sequential reads are optimal.
59
  *
59
  *
60
  *    SPIFlashStorage.beginRead(myStartAddress);
60
  *    SPIFlashStorage.beginRead(myStartAddress);
61
  *    while (there is data to read)
61
  *    while (there is data to read)

+ 2
- 2
Marlin/src/lcd/extui/mks_ui/draw_ui.cpp View File

237
   uint8_t command_buf[512];
237
   uint8_t command_buf[512];
238
 
238
 
239
   W25QXX.init(SPI_QUARTER_SPEED);
239
   W25QXX.init(SPI_QUARTER_SPEED);
240
-  //read back the gcode command befor erase spi flash
240
+  //read back the gcode command before erase spi flash
241
   W25QXX.SPI_FLASH_BufferRead((uint8_t *)&command_buf, GCODE_COMMAND_ADDR, sizeof(command_buf));
241
   W25QXX.SPI_FLASH_BufferRead((uint8_t *)&command_buf, GCODE_COMMAND_ADDR, sizeof(command_buf));
242
   W25QXX.SPI_FLASH_SectorErase(VAR_INF_ADDR);
242
   W25QXX.SPI_FLASH_SectorErase(VAR_INF_ADDR);
243
   W25QXX.SPI_FLASH_BufferWrite((uint8_t *)&gCfgItems, VAR_INF_ADDR, sizeof(gCfgItems));
243
   W25QXX.SPI_FLASH_BufferWrite((uint8_t *)&gCfgItems, VAR_INF_ADDR, sizeof(gCfgItems));
248
   uint8_t command_buf[512];
248
   uint8_t command_buf[512];
249
 
249
 
250
   W25QXX.init(SPI_QUARTER_SPEED);
250
   W25QXX.init(SPI_QUARTER_SPEED);
251
-  //read back the gcode command befor erase spi flash
251
+  //read back the gcode command before erase spi flash
252
   W25QXX.SPI_FLASH_BufferRead((uint8_t *)&command_buf, GCODE_COMMAND_ADDR, sizeof(command_buf));
252
   W25QXX.SPI_FLASH_BufferRead((uint8_t *)&command_buf, GCODE_COMMAND_ADDR, sizeof(command_buf));
253
   W25QXX.SPI_FLASH_SectorErase(VAR_INF_ADDR);
253
   W25QXX.SPI_FLASH_SectorErase(VAR_INF_ADDR);
254
   W25QXX.SPI_FLASH_BufferWrite((uint8_t *)&gCfgItems, VAR_INF_ADDR, sizeof(gCfgItems));
254
   W25QXX.SPI_FLASH_BufferWrite((uint8_t *)&gCfgItems, VAR_INF_ADDR, sizeof(gCfgItems));

+ 1
- 1
Marlin/src/lcd/extui/mks_ui/pic_manager.cpp View File

503
       disp_assets_update_progress("Reading files...");
503
       disp_assets_update_progress("Reading files...");
504
       dir_t d;
504
       dir_t d;
505
       while (dir.readDir(&d, card.longFilename) > 0) {
505
       while (dir.readDir(&d, card.longFilename) > 0) {
506
-        // If we dont get a long name, but gets a short one, try it
506
+        // If we don't get a long name, but gets a short one, try it
507
         if (card.longFilename[0] == 0 && d.name[0] != 0)
507
         if (card.longFilename[0] == 0 && d.name[0] != 0)
508
           dosName2LongName((const char*)d.name, card.longFilename);
508
           dosName2LongName((const char*)d.name, card.longFilename);
509
         if (card.longFilename[0] == 0) continue;
509
         if (card.longFilename[0] == 0) continue;

+ 1
- 1
Marlin/src/lcd/extui/mks_ui/printer_operation.cpp View File

54
 
54
 
55
         gcode.process_subcommands_now_P(PSTR("M25"));
55
         gcode.process_subcommands_now_P(PSTR("M25"));
56
 
56
 
57
-        //save the positon
57
+        //save the position
58
         uiCfg.current_x_position_bak = current_position.x;
58
         uiCfg.current_x_position_bak = current_position.x;
59
         uiCfg.current_y_position_bak = current_position.y;
59
         uiCfg.current_y_position_bak = current_position.y;
60
         uiCfg.current_z_position_bak = current_position.z;
60
         uiCfg.current_z_position_bak = current_position.z;

+ 1
- 1
Marlin/src/lcd/extui/mks_ui/wifiSerial_STM32.cpp View File

198
     // nop, the interrupt handler will free up space for us
198
     // nop, the interrupt handler will free up space for us
199
   }
199
   }
200
   // If we get here, nothing is queued anymore (DRIE is disabled) and
200
   // If we get here, nothing is queued anymore (DRIE is disabled) and
201
-  // the hardware finished tranmission (TXC is set).
201
+  // the hardware finished transmission (TXC is set).
202
 }
202
 }
203
 
203
 
204
 bool WifiSerial::isHalfDuplex() const { return _serial.pin_rx == NC; }
204
 bool WifiSerial::isHalfDuplex() const { return _serial.pin_rx == NC; }

+ 1
- 1
Marlin/src/lcd/marlinui.cpp View File

716
      *     This is used to achieve more rapid stepping on kinematic machines.
716
      *     This is used to achieve more rapid stepping on kinematic machines.
717
      *
717
      *
718
      * Currently used by the _lcd_move_xyz function in menu_motion.cpp
718
      * Currently used by the _lcd_move_xyz function in menu_motion.cpp
719
-     * and the ubl_map_move_to_xy funtion in menu_ubl.cpp.
719
+     * and the ubl_map_move_to_xy function in menu_ubl.cpp.
720
      */
720
      */
721
     void ManualMove::task() {
721
     void ManualMove::task() {
722
 
722
 

+ 1
- 1
Marlin/src/lcd/tft/canvas.cpp View File

50
 }
50
 }
51
 
51
 
52
 void CANVAS::SetBackground(uint16_t color) {
52
 void CANVAS::SetBackground(uint16_t color) {
53
-  /* TODO: test and optimize perfomance */
53
+  /* TODO: test and optimize performance */
54
   /*
54
   /*
55
   uint32_t count = (endLine - startLine) * width;
55
   uint32_t count = (endLine - startLine) * width;
56
   uint16_t *pixel = buffer;
56
   uint16_t *pixel = buffer;

+ 2
- 2
Marlin/src/libs/MAX31865.cpp View File

257
   // From the datasheet:
257
   // From the datasheet:
258
   // Note that a single conversion requires approximately 52ms in 60Hz filter
258
   // Note that a single conversion requires approximately 52ms in 60Hz filter
259
   // mode or 62.5ms in 50Hz filter mode to complete. 1-Shot is a self-clearing bit.
259
   // mode or 62.5ms in 50Hz filter mode to complete. 1-Shot is a self-clearing bit.
260
-  // TODO: switch this out depeding on the filter mode.
260
+  // TODO: switch this out depending on the filter mode.
261
   DELAY_US(65000); // 65ms
261
   DELAY_US(65000); // 65ms
262
 }
262
 }
263
 
263
 
301
 }
301
 }
302
 
302
 
303
 /**
303
 /**
304
- * Calulate and return the resistance value of the connected RTD.
304
+ * Calculate and return the resistance value of the connected RTD.
305
  *
305
  *
306
  * @param  refResistor The value of the matching reference resistor, usually 430 or 4300
306
  * @param  refResistor The value of the matching reference resistor, usually 430 or 4300
307
  * @return             The raw RTD resistance value, NOT temperature!
307
  * @return             The raw RTD resistance value, NOT temperature!

+ 1
- 1
Marlin/src/libs/MAX31865.h View File

72
 #define MAX31865_FAULT_OVUV 0x04        // D2
72
 #define MAX31865_FAULT_OVUV 0x04        // D2
73
 
73
 
74
 // http://www.analog.com/media/en/technical-documentation/application-notes/AN709_0.pdf
74
 // http://www.analog.com/media/en/technical-documentation/application-notes/AN709_0.pdf
75
-// constants for calulating temperature from the measured RTD resistance.
75
+// constants for calculating temperature from the measured RTD resistance.
76
 #define RTD_Z1 -0.0039083
76
 #define RTD_Z1 -0.0039083
77
 #define RTD_Z2 0.00001758480889
77
 #define RTD_Z2 0.00001758480889
78
 #define RTD_Z3 -0.0000000231
78
 #define RTD_Z3 -0.0000000231

+ 2
- 2
Marlin/src/libs/W25Qxx.cpp View File

157
 /*******************************************************************************
157
 /*******************************************************************************
158
 * Function Name  : SPI_FLASH_WaitForWriteEnd
158
 * Function Name  : SPI_FLASH_WaitForWriteEnd
159
 * Description    : Polls the status of the Write In Progress (WIP) flag in the
159
 * Description    : Polls the status of the Write In Progress (WIP) flag in the
160
-*                  FLASH's status  register  and  loop  until write  opertaion
161
-*                  has completed.
160
+*                  FLASH's status register and loop until write operation has
161
+*                  completed.
162
 * Input          : None
162
 * Input          : None
163
 * Output         : None
163
 * Output         : None
164
 * Return         : None
164
 * Return         : None

+ 1
- 1
Marlin/src/libs/buzzer.h View File

56
       static CircularQueue<tone_t, TONE_QUEUE_LENGTH> buffer;
56
       static CircularQueue<tone_t, TONE_QUEUE_LENGTH> buffer;
57
 
57
 
58
       /**
58
       /**
59
-       * @brief Inverts the sate of a digital PIN
59
+       * @brief Inverts the state of a digital PIN
60
        * @details This will invert the current state of an digital IO pin.
60
        * @details This will invert the current state of an digital IO pin.
61
        */
61
        */
62
       FORCE_INLINE static void invert() { TOGGLE(BEEPER_PIN); }
62
       FORCE_INLINE static void invert() { TOGGLE(BEEPER_PIN); }

+ 2
- 2
Marlin/src/libs/duration_t.h View File

113
 
113
 
114
   /**
114
   /**
115
    * @brief Formats the duration as a string
115
    * @brief Formats the duration as a string
116
-   * @details String will be formated using a "full" representation of duration
116
+   * @details String will be formatted using a "full" representation of duration
117
    *
117
    *
118
    * @param buffer The array pointed to must be able to accommodate 22 bytes
118
    * @param buffer The array pointed to must be able to accommodate 22 bytes
119
    *               (21 for the string, 1 more for the terminating nul)
119
    *               (21 for the string, 1 more for the terminating nul)
143
 
143
 
144
   /**
144
   /**
145
    * @brief Formats the duration as a string
145
    * @brief Formats the duration as a string
146
-   * @details String will be formated using a "digital" representation of duration
146
+   * @details String will be formatted using a "digital" representation of duration
147
    *
147
    *
148
    * @param buffer The array pointed to must be able to accommodate 10 bytes
148
    * @param buffer The array pointed to must be able to accommodate 10 bytes
149
    *
149
    *

+ 3
- 3
Marlin/src/module/endstops.cpp View File

884
     const byte dual_hit = TEST_ENDSTOP(_ENDSTOP(A, MINMAX)) | (TEST_ENDSTOP(_ENDSTOP(A##2, MINMAX)) << 1); \
884
     const byte dual_hit = TEST_ENDSTOP(_ENDSTOP(A, MINMAX)) | (TEST_ENDSTOP(_ENDSTOP(A##2, MINMAX)) << 1); \
885
     if (dual_hit) { \
885
     if (dual_hit) { \
886
       _ENDSTOP_HIT(A, MINMAX); \
886
       _ENDSTOP_HIT(A, MINMAX); \
887
-      /* if not performing home or if both endstops were trigged during homing... */ \
887
+      /* if not performing home or if both endstops were triggered during homing... */ \
888
       if (!stepper.separate_multi_axis || dual_hit == 0b11) \
888
       if (!stepper.separate_multi_axis || dual_hit == 0b11) \
889
         planner.endstop_triggered(_AXIS(A)); \
889
         planner.endstop_triggered(_AXIS(A)); \
890
     } \
890
     } \
894
     const byte triple_hit = TEST_ENDSTOP(_ENDSTOP(A, MINMAX)) | (TEST_ENDSTOP(_ENDSTOP(A##2, MINMAX)) << 1) | (TEST_ENDSTOP(_ENDSTOP(A##3, MINMAX)) << 2); \
894
     const byte triple_hit = TEST_ENDSTOP(_ENDSTOP(A, MINMAX)) | (TEST_ENDSTOP(_ENDSTOP(A##2, MINMAX)) << 1) | (TEST_ENDSTOP(_ENDSTOP(A##3, MINMAX)) << 2); \
895
     if (triple_hit) { \
895
     if (triple_hit) { \
896
       _ENDSTOP_HIT(A, MINMAX); \
896
       _ENDSTOP_HIT(A, MINMAX); \
897
-      /* if not performing home or if both endstops were trigged during homing... */ \
897
+      /* if not performing home or if both endstops were triggered during homing... */ \
898
       if (!stepper.separate_multi_axis || triple_hit == 0b111) \
898
       if (!stepper.separate_multi_axis || triple_hit == 0b111) \
899
         planner.endstop_triggered(_AXIS(A)); \
899
         planner.endstop_triggered(_AXIS(A)); \
900
     } \
900
     } \
904
     const byte quad_hit = TEST_ENDSTOP(_ENDSTOP(A, MINMAX)) | (TEST_ENDSTOP(_ENDSTOP(A##2, MINMAX)) << 1) | (TEST_ENDSTOP(_ENDSTOP(A##3, MINMAX)) << 2) | (TEST_ENDSTOP(_ENDSTOP(A##4, MINMAX)) << 3); \
904
     const byte quad_hit = TEST_ENDSTOP(_ENDSTOP(A, MINMAX)) | (TEST_ENDSTOP(_ENDSTOP(A##2, MINMAX)) << 1) | (TEST_ENDSTOP(_ENDSTOP(A##3, MINMAX)) << 2) | (TEST_ENDSTOP(_ENDSTOP(A##4, MINMAX)) << 3); \
905
     if (quad_hit) { \
905
     if (quad_hit) { \
906
       _ENDSTOP_HIT(A, MINMAX); \
906
       _ENDSTOP_HIT(A, MINMAX); \
907
-      /* if not performing home or if both endstops were trigged during homing... */ \
907
+      /* if not performing home or if both endstops were triggered during homing... */ \
908
       if (!stepper.separate_multi_axis || quad_hit == 0b1111) \
908
       if (!stepper.separate_multi_axis || quad_hit == 0b1111) \
909
         planner.endstop_triggered(_AXIS(A)); \
909
         planner.endstop_triggered(_AXIS(A)); \
910
     } \
910
     } \

+ 1
- 1
Marlin/src/module/planner.h View File

857
       static void quick_resume();
857
       static void quick_resume();
858
     #endif
858
     #endif
859
 
859
 
860
-    // Called when an endstop is triggered. Causes the machine to stop inmediately
860
+    // Called when an endstop is triggered. Causes the machine to stop immediately
861
     static void endstop_triggered(const AxisEnum axis);
861
     static void endstop_triggered(const AxisEnum axis);
862
 
862
 
863
     // Triggered position of an axis in mm (not core-savvy)
863
     // Triggered position of an axis in mm (not core-savvy)

+ 1
- 1
Marlin/src/module/stepper/trinamic.cpp View File

955
 // TMC Slave Address Conflict Detection
955
 // TMC Slave Address Conflict Detection
956
 //
956
 //
957
 // Conflict detection is performed in the following way. Similar methods are used for
957
 // Conflict detection is performed in the following way. Similar methods are used for
958
-// hardware and software serial, but the implementations are indepenent.
958
+// hardware and software serial, but the implementations are independent.
959
 //
959
 //
960
 // 1. Populate a data structure with UART parameters and addresses for all possible axis.
960
 // 1. Populate a data structure with UART parameters and addresses for all possible axis.
961
 //      If an axis is not in use, populate it with recognizable placeholder data.
961
 //      If an axis is not in use, populate it with recognizable placeholder data.

+ 1
- 1
Marlin/src/module/temperature.cpp View File

1522
     #endif
1522
     #endif
1523
 
1523
 
1524
     #if ENABLED(PIDTEMPCHAMBER)
1524
     #if ENABLED(PIDTEMPCHAMBER)
1525
-      // PIDTEMPCHAMBER doens't support a CHAMBER_VENT yet.
1525
+      // PIDTEMPCHAMBER doesn't support a CHAMBER_VENT yet.
1526
       temp_chamber.soft_pwm_amount = WITHIN(temp_chamber.celsius, CHAMBER_MINTEMP, CHAMBER_MAXTEMP) ? (int)get_pid_output_chamber() >> 1 : 0;
1526
       temp_chamber.soft_pwm_amount = WITHIN(temp_chamber.celsius, CHAMBER_MINTEMP, CHAMBER_MAXTEMP) ? (int)get_pid_output_chamber() >> 1 : 0;
1527
     #else
1527
     #else
1528
       if (ELAPSED(ms, next_chamber_check_ms)) {
1528
       if (ELAPSED(ms, next_chamber_check_ms)) {

+ 1
- 1
Marlin/src/module/thermistor/thermistor_61.h View File

31
 // B Value             3950K at 25/50 deg. C
31
 // B Value             3950K at 25/50 deg. C
32
 // B Value Tolerance         + / - 1%
32
 // B Value Tolerance         + / - 1%
33
 constexpr temp_entry_t temptable_61[] PROGMEM = {
33
 constexpr temp_entry_t temptable_61[] PROGMEM = {
34
-  { OV(   2.00), 420 }, // Guestimate to ensure we dont lose a reading and drop temps to -50 when over
34
+  { OV(   2.00), 420 }, // Guestimate to ensure we don't lose a reading and drop temps to -50 when over
35
   { OV(  12.07), 350 },
35
   { OV(  12.07), 350 },
36
   { OV(  12.79), 345 },
36
   { OV(  12.79), 345 },
37
   { OV(  13.59), 340 },
37
   { OV(  13.59), 340 },

+ 1
- 1
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_1.h View File

140
   // Using TMC devices in intelligent mode requires extra connections to each device. Unfortunately
140
   // Using TMC devices in intelligent mode requires extra connections to each device. Unfortunately
141
   // the SKR does not have many free pins (especially if a display is in use). The SPI-based devices
141
   // the SKR does not have many free pins (especially if a display is in use). The SPI-based devices
142
   // will require 3 connections (clock, mosi, miso), plus a chip select line (CS) for each driver.
142
   // will require 3 connections (clock, mosi, miso), plus a chip select line (CS) for each driver.
143
-  // The UART-based devices require 2 pis per deriver (one of which must be interrupt capable).
143
+  // The UART-based devices require 2 pis per driver (one of which must be interrupt capable).
144
   // The same SPI pins can be shared with the display/SD card reader, meaning SPI-based devices are
144
   // The same SPI pins can be shared with the display/SD card reader, meaning SPI-based devices are
145
   // probably a good choice for this board.
145
   // probably a good choice for this board.
146
   //
146
   //

+ 1
- 1
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_3.h View File

265
 
265
 
266
   #elif HAS_ADC_BUTTONS
266
   #elif HAS_ADC_BUTTONS
267
 
267
 
268
-    #error "ADC BUTTONS do not work unmodifed on SKR 1.3, The ADC ports cannot take more than 3.3v."
268
+    #error "ADC BUTTONS do not work unmodified on SKR 1.3, The ADC ports cannot take more than 3.3v."
269
 
269
 
270
   #elif HAS_SPI_TFT                               // Config for Classic UI (emulated DOGM) and Color UI
270
   #elif HAS_SPI_TFT                               // Config for Classic UI (emulated DOGM) and Color UI
271
 
271
 

+ 1
- 1
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h View File

494
 #endif // HAS_WIRED_LCD
494
 #endif // HAS_WIRED_LCD
495
 
495
 
496
 #if HAS_ADC_BUTTONS
496
 #if HAS_ADC_BUTTONS
497
-  #error "ADC BUTTONS do not work unmodifed on SKR 1.4, The ADC ports cannot take more than 3.3v."
497
+  #error "ADC BUTTONS do not work unmodified on SKR 1.4, The ADC ports cannot take more than 3.3v."
498
 #endif
498
 #endif
499
 
499
 
500
 //
500
 //

+ 0
- 0
Marlin/src/pins/lpc1768/pins_GMARSH_X6_REV1.h View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save