Browse Source

💡 Adjust headers, formatting

vanilla_fb_2.0.x
Scott Lahteine 3 years ago
parent
commit
ab9609146f
  1. 3
      Marlin/src/HAL/AVR/pinsDebug.h
  2. 3
      Marlin/src/HAL/AVR/pinsDebug_Teensyduino.h
  3. 3
      Marlin/src/HAL/AVR/pinsDebug_plus_70.h
  4. 1
      Marlin/src/HAL/DUE/dogm/u8g_com_HAL_DUE_shared_hw_spi.cpp
  5. 3
      Marlin/src/HAL/DUE/pinsDebug.h
  6. 3
      Marlin/src/HAL/ESP32/spi_pins.h
  7. 4
      Marlin/src/HAL/LINUX/main.cpp
  8. 3
      Marlin/src/HAL/LINUX/pinsDebug.h
  9. 3
      Marlin/src/HAL/LPC1768/pinsDebug.h
  10. 1
      Marlin/src/HAL/NATIVE_SIM/pinsDebug.h
  11. 1
      Marlin/src/HAL/SAMD51/QSPIFlash.h
  12. 1
      Marlin/src/HAL/STM32/MarlinSPI.cpp
  13. 4
      Marlin/src/HAL/STM32/MarlinSerial.cpp
  14. 3
      Marlin/src/HAL/STM32/MarlinSerial.h
  15. 1
      Marlin/src/HAL/STM32/Sd2Card_sdio_stm32duino.cpp
  16. 1
      Marlin/src/HAL/STM32/eeprom_bl24cxx.cpp
  17. 1
      Marlin/src/HAL/STM32/eeprom_if_iic.cpp
  18. 1
      Marlin/src/HAL/STM32/eeprom_sdcard.cpp
  19. 1
      Marlin/src/HAL/STM32/fast_pwm.cpp
  20. 3
      Marlin/src/HAL/STM32/pinsDebug.h
  21. 3
      Marlin/src/HAL/STM32/spi_pins.h
  22. 1
      Marlin/src/HAL/STM32/tft/tft_fsmc.cpp
  23. 1
      Marlin/src/HAL/STM32/tft/tft_spi.cpp
  24. 1
      Marlin/src/HAL/STM32/tft/xpt2046.cpp
  25. 1
      Marlin/src/HAL/STM32/usb_host.cpp
  26. 4
      Marlin/src/HAL/STM32/usb_serial.cpp
  27. 3
      Marlin/src/HAL/STM32/usb_serial.h
  28. 1
      Marlin/src/HAL/STM32/watchdog.cpp
  29. 4
      Marlin/src/HAL/STM32F1/dogm/u8g_com_stm32duino_swspi.cpp
  30. 3
      Marlin/src/HAL/STM32F1/eeprom_wired.cpp
  31. 3
      Marlin/src/HAL/STM32F1/pinsDebug.h
  32. 3
      Marlin/src/HAL/STM32F1/spi_pins.h
  33. 4
      Marlin/src/HAL/TEENSY31_32/eeprom.cpp
  34. 3
      Marlin/src/HAL/TEENSY35_36/pinsDebug.h
  35. 3
      Marlin/src/HAL/TEENSY40_41/pinsDebug.h
  36. 1
      Marlin/src/HAL/shared/Delay.cpp
  37. 1
      Marlin/src/feature/bedlevel/ubl/ubl_motion.cpp
  38. 1
      Marlin/src/feature/cancel_object.cpp
  39. 1
      Marlin/src/feature/closedloop.cpp
  40. 1
      Marlin/src/feature/direct_stepping.cpp
  41. 1
      Marlin/src/feature/repeat.cpp
  42. 1
      Marlin/src/gcode/calibrate/M12.cpp
  43. 1
      Marlin/src/gcode/config/M281.cpp
  44. 1
      Marlin/src/gcode/feature/pause/G27.cpp
  45. 1
      Marlin/src/gcode/gcode_d.cpp
  46. 1
      Marlin/src/gcode/host/M360.cpp
  47. 1
      Marlin/src/gcode/host/M876.cpp
  48. 1
      Marlin/src/gcode/lcd/M250.cpp
  49. 1
      Marlin/src/gcode/motion/G6.cpp
  50. 8
      Marlin/src/inc/SanityCheck.h
  51. 22
      Marlin/src/lcd/HD44780/lcdprint_hd44780.cpp
  52. 4
      Marlin/src/lcd/dogm/fontdata/fontdata_ISO10646_1.h
  53. 1
      Marlin/src/lcd/dogm/u8g_dev_ssd1309_12864.cpp
  54. 2
      Marlin/src/lcd/extui/anycubic_chiron/chiron_tft_defs.h
  55. 1
      Marlin/src/lcd/extui/dgus_reloaded/DGUSRxHandler.h
  56. 1
      Marlin/src/lcd/extui/dgus_reloaded/DGUSScreenHandler.h
  57. 1
      Marlin/src/lcd/extui/dgus_reloaded/DGUSSetupHandler.h
  58. 1
      Marlin/src/lcd/extui/dgus_reloaded/DGUSTxHandler.h
  59. 1
      Marlin/src/lcd/extui/ftdi_eve_touch_ui/bioprinter/ui_landscape.h
  60. 1
      Marlin/src/lcd/extui/ftdi_eve_touch_ui/bioprinter/ui_portrait.h
  61. 1
      Marlin/src/lcd/extui/ftdi_eve_touch_ui/cocoa_press/cocoa_press_ui.h
  62. 1
      Marlin/src/lcd/extui/ftdi_eve_touch_ui/generic/custom_user_menus.h
  63. 1
      Marlin/src/lcd/extui/ftdi_eve_touch_ui/theme/bootscreen_logo_portrait.h
  64. 1
      Marlin/src/lcd/extui/ftdi_eve_touch_ui/theme/marlin_bootscreen_landscape.h
  65. 1
      Marlin/src/lcd/extui/ftdi_eve_touch_ui/theme/marlin_bootscreen_portrait.h
  66. 1
      Marlin/src/lcd/extui/mks_ui/draw_about.cpp
  67. 1
      Marlin/src/lcd/extui/mks_ui/draw_acceleration_settings.cpp
  68. 1
      Marlin/src/lcd/extui/mks_ui/draw_advance_settings.cpp
  69. 1
      Marlin/src/lcd/extui/mks_ui/draw_auto_level_offset_settings.cpp
  70. 1
      Marlin/src/lcd/extui/mks_ui/draw_baby_stepping.cpp
  71. 1
      Marlin/src/lcd/extui/mks_ui/draw_change_speed.cpp
  72. 1
      Marlin/src/lcd/extui/mks_ui/draw_cloud_bind.cpp
  73. 1
      Marlin/src/lcd/extui/mks_ui/draw_eeprom_settings.cpp
  74. 1
      Marlin/src/lcd/extui/mks_ui/draw_encoder_settings.cpp
  75. 1
      Marlin/src/lcd/extui/mks_ui/draw_error_message.cpp
  76. 1
      Marlin/src/lcd/extui/mks_ui/draw_extrusion.cpp
  77. 1
      Marlin/src/lcd/extui/mks_ui/draw_fan.cpp
  78. 1
      Marlin/src/lcd/extui/mks_ui/draw_filament_change.cpp
  79. 1
      Marlin/src/lcd/extui/mks_ui/draw_filament_settings.cpp
  80. 1
      Marlin/src/lcd/extui/mks_ui/draw_gcode.cpp
  81. 1
      Marlin/src/lcd/extui/mks_ui/draw_home.cpp
  82. 1
      Marlin/src/lcd/extui/mks_ui/draw_homing_sensitivity_settings.cpp
  83. 1
      Marlin/src/lcd/extui/mks_ui/draw_jerk_settings.cpp
  84. 1
      Marlin/src/lcd/extui/mks_ui/draw_keyboard.cpp
  85. 1
      Marlin/src/lcd/extui/mks_ui/draw_language.cpp
  86. 1
      Marlin/src/lcd/extui/mks_ui/draw_level_settings.cpp
  87. 1
      Marlin/src/lcd/extui/mks_ui/draw_machine_para.cpp
  88. 1
      Marlin/src/lcd/extui/mks_ui/draw_machine_settings.cpp
  89. 1
      Marlin/src/lcd/extui/mks_ui/draw_manuaLevel.cpp
  90. 1
      Marlin/src/lcd/extui/mks_ui/draw_max_feedrate_settings.cpp
  91. 1
      Marlin/src/lcd/extui/mks_ui/draw_more.cpp
  92. 1
      Marlin/src/lcd/extui/mks_ui/draw_motor_settings.cpp
  93. 1
      Marlin/src/lcd/extui/mks_ui/draw_move_motor.cpp
  94. 1
      Marlin/src/lcd/extui/mks_ui/draw_number_key.cpp
  95. 1
      Marlin/src/lcd/extui/mks_ui/draw_operation.cpp
  96. 1
      Marlin/src/lcd/extui/mks_ui/draw_pause_message.cpp
  97. 1
      Marlin/src/lcd/extui/mks_ui/draw_pause_position.cpp
  98. 1
      Marlin/src/lcd/extui/mks_ui/draw_preHeat.cpp
  99. 1
      Marlin/src/lcd/extui/mks_ui/draw_print_file.cpp
  100. 1
      Marlin/src/lcd/extui/mks_ui/draw_printing.cpp

3
Marlin/src/HAL/AVR/pinsDebug.h

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or

3
Marlin/src/HAL/AVR/pinsDebug_Teensyduino.h

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or

3
Marlin/src/HAL/AVR/pinsDebug_plus_70.h

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or

1
Marlin/src/HAL/DUE/dogm/u8g_com_HAL_DUE_shared_hw_spi.cpp

@ -20,7 +20,6 @@
*
*/
/**
* Based on u8g_com_msp430_hw_spi.c
*

3
Marlin/src/HAL/DUE/pinsDebug.h

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or

3
Marlin/src/HAL/ESP32/spi_pins.h

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or

4
Marlin/src/HAL/LINUX/main.cpp

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@ -16,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#ifdef __PLAT_LINUX__
//#define GPIO_LOGGING // Full GPIO and Positional Logging

3
Marlin/src/HAL/LINUX/pinsDebug.h

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or

3
Marlin/src/HAL/LPC1768/pinsDebug.h

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or

1
Marlin/src/HAL/NATIVE_SIM/pinsDebug.h

@ -20,7 +20,6 @@
/**
* Support routines for X86_64
*/
#pragma once
/**

1
Marlin/src/HAL/SAMD51/QSPIFlash.h

@ -25,7 +25,6 @@
*
* Derived from Adafruit_SPIFlash class with no SdFat references
*/
#pragma once
#include <Adafruit_SPIFlashBase.h>

1
Marlin/src/HAL/STM32/MarlinSPI.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../platforms.h"
#if defined(HAL_STM32) && !defined(STM32H7xx)

4
Marlin/src/HAL/STM32/MarlinSerial.cpp

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@ -16,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../platforms.h"
#ifdef HAL_STM32

3
Marlin/src/HAL/STM32/MarlinSerial.h

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or

1
Marlin/src/HAL/STM32/Sd2Card_sdio_stm32duino.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../platforms.h"
#ifdef HAL_STM32

1
Marlin/src/HAL/STM32/eeprom_bl24cxx.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../platforms.h"
#ifdef HAL_STM32

1
Marlin/src/HAL/STM32/eeprom_if_iic.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../platforms.h"
#ifdef HAL_STM32

1
Marlin/src/HAL/STM32/eeprom_sdcard.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../platforms.h"
#ifdef HAL_STM32

1
Marlin/src/HAL/STM32/fast_pwm.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../platforms.h"
#ifdef HAL_STM32

3
Marlin/src/HAL/STM32/pinsDebug.h

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or

3
Marlin/src/HAL/STM32/spi_pins.h

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or

1
Marlin/src/HAL/STM32/tft/tft_fsmc.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../platforms.h"
#ifdef HAL_STM32

1
Marlin/src/HAL/STM32/tft/tft_spi.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../platforms.h"
#ifdef HAL_STM32

1
Marlin/src/HAL/STM32/tft/xpt2046.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../platforms.h"
#ifdef HAL_STM32

1
Marlin/src/HAL/STM32/usb_host.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../platforms.h"
#ifdef HAL_STM32

4
Marlin/src/HAL/STM32/usb_serial.cpp

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@ -16,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../platforms.h"
#ifdef HAL_STM32

3
Marlin/src/HAL/STM32/usb_serial.h

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or

1
Marlin/src/HAL/STM32/watchdog.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../platforms.h"
#ifdef HAL_STM32

4
Marlin/src/HAL/STM32F1/dogm/u8g_com_stm32duino_swspi.cpp

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@ -16,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#ifdef __STM32F1__
#include "../../../inc/MarlinConfig.h"

3
Marlin/src/HAL/STM32F1/eeprom_wired.cpp

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or

3
Marlin/src/HAL/STM32F1/pinsDebug.h

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or

3
Marlin/src/HAL/STM32F1/spi_pins.h

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or

4
Marlin/src/HAL/TEENSY31_32/eeprom.cpp

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@ -16,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#ifdef __MK20DX256__
/**

3
Marlin/src/HAL/TEENSY35_36/pinsDebug.h

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or

3
Marlin/src/HAL/TEENSY40_41/pinsDebug.h

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or

1
Marlin/src/HAL/shared/Delay.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "Delay.h"
#include "../../inc/MarlinConfig.h"

1
Marlin/src/feature/bedlevel/ubl/ubl_motion.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfig.h"
#if ENABLED(AUTO_BED_LEVELING_UBL)

1
Marlin/src/feature/cancel_object.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../inc/MarlinConfig.h"
#if ENABLED(CANCEL_OBJECTS)

1
Marlin/src/feature/closedloop.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../inc/MarlinConfig.h"
#if ENABLED(EXTERNAL_CLOSED_LOOP_CONTROLLER)

1
Marlin/src/feature/direct_stepping.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../inc/MarlinConfigPre.h"
#if ENABLED(DIRECT_STEPPING)

1
Marlin/src/feature/repeat.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../inc/MarlinConfig.h"
#if ENABLED(GCODE_REPEAT_MARKERS)

1
Marlin/src/gcode/calibrate/M12.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../inc/MarlinConfigPre.h"
#if ENABLED(EXTERNAL_CLOSED_LOOP_CONTROLLER)

1
Marlin/src/gcode/config/M281.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../inc/MarlinConfig.h"
#if ENABLED(EDITABLE_SERVO_ANGLES)

1
Marlin/src/gcode/feature/pause/G27.cpp

@ -20,7 +20,6 @@
*
*/
#include "../../../inc/MarlinConfig.h"
#if ENABLED(NOZZLE_PARK_FEATURE)

1
Marlin/src/gcode/gcode_d.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../inc/MarlinConfigPre.h"
#if ENABLED(MARLIN_DEV_MODE)

1
Marlin/src/gcode/host/M360.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../inc/MarlinConfig.h"
#if ENABLED(REPETIER_GCODE_M360)

1
Marlin/src/gcode/host/M876.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../inc/MarlinConfig.h"
#if ENABLED(HOST_PROMPT_SUPPORT) && DISABLED(EMERGENCY_PARSER)

1
Marlin/src/gcode/lcd/M250.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../inc/MarlinConfig.h"
#if HAS_LCD_CONTRAST

1
Marlin/src/gcode/motion/G6.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../inc/MarlinConfig.h"
#if ENABLED(DIRECT_STEPPING)

8
Marlin/src/inc/SanityCheck.h

@ -3279,10 +3279,6 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
/**
* Check per-axis initializers for errors
*/
constexpr float sanity_arr_1[] = DEFAULT_AXIS_STEPS_PER_UNIT,
sanity_arr_2[] = DEFAULT_MAX_FEEDRATE,
sanity_arr_3[] = DEFAULT_MAX_ACCELERATION,
sanity_arr_4[] = HOMING_FEEDRATE_MM_M;
#define __PLUS_TEST(I,A) && (sanity_arr_##A[_MIN(I,signed(COUNT(sanity_arr_##A)-1))] > 0)
#define _PLUS_TEST(A) (1 REPEAT2(14,__PLUS_TEST,A))
@ -3292,18 +3288,22 @@ constexpr float sanity_arr_1[] = DEFAULT_AXIS_STEPS_PER_UNIT,
#define _EXTRA_NOTE " (Should be " STRINGIFY(LINEAR_AXES) "+" STRINGIFY(E_STEPPERS) ")"
#endif
constexpr float sanity_arr_1[] = DEFAULT_AXIS_STEPS_PER_UNIT;
static_assert(COUNT(sanity_arr_1) >= LOGICAL_AXES, "DEFAULT_AXIS_STEPS_PER_UNIT requires " _LOGICAL_AXES_STR "elements.");
static_assert(COUNT(sanity_arr_1) <= DISTINCT_AXES, "DEFAULT_AXIS_STEPS_PER_UNIT has too many elements." _EXTRA_NOTE);
static_assert(_PLUS_TEST(1), "DEFAULT_AXIS_STEPS_PER_UNIT values must be positive.");
constexpr float sanity_arr_2[] = DEFAULT_MAX_FEEDRATE;
static_assert(COUNT(sanity_arr_2) >= LOGICAL_AXES, "DEFAULT_MAX_FEEDRATE requires " _LOGICAL_AXES_STR "elements.");
static_assert(COUNT(sanity_arr_2) <= DISTINCT_AXES, "DEFAULT_MAX_FEEDRATE has too many elements." _EXTRA_NOTE);
static_assert(_PLUS_TEST(2), "DEFAULT_MAX_FEEDRATE values must be positive.");
constexpr float sanity_arr_3[] = DEFAULT_MAX_ACCELERATION;
static_assert(COUNT(sanity_arr_3) >= LOGICAL_AXES, "DEFAULT_MAX_ACCELERATION requires " _LOGICAL_AXES_STR "elements.");
static_assert(COUNT(sanity_arr_3) <= DISTINCT_AXES, "DEFAULT_MAX_ACCELERATION has too many elements." _EXTRA_NOTE);
static_assert(_PLUS_TEST(3), "DEFAULT_MAX_ACCELERATION values must be positive.");
constexpr float sanity_arr_4[] = HOMING_FEEDRATE_MM_M;
static_assert(COUNT(sanity_arr_4) == LINEAR_AXES, "HOMING_FEEDRATE_MM_M requires " _LINEAR_AXES_STR "elements (and no others).");
static_assert(_PLUS_TEST(4), "HOMING_FEEDRATE_MM_M values must be positive.");

22
Marlin/src/lcd/HD44780/lcdprint_hd44780.cpp

@ -1,3 +1,25 @@
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
/**
* @file lcdprint_hd44780.cpp
* @brief LCD print api for HD44780

4
Marlin/src/lcd/dogm/fontdata/fontdata_ISO10646_1.h

@ -2,6 +2,9 @@
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@ -16,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include <U8glib-HAL.h>
#if defined(__AVR__) && ENABLED(NOT_EXTENDED_ISO10646_1_5X7)

1
Marlin/src/lcd/dogm/u8g_dev_ssd1309_12864.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../inc/MarlinConfigPre.h"
#if HAS_MARLINUI_U8GLIB

2
Marlin/src/lcd/extui/anycubic_chiron/chiron_tft_defs.h

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#pragma once
/**
* lcd/extui/anycubic_chiron/chiron_defs.h
@ -28,7 +29,6 @@
* (not affiliated with Anycubic, Ltd.)
*/
#pragma once
#include "../../../inc/MarlinConfigPre.h"
//#define ACDEBUGLEVEL 4

1
Marlin/src/lcd/extui/dgus_reloaded/DGUSRxHandler.h

@ -19,7 +19,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#pragma once
#include "DGUSDisplay.h"

1
Marlin/src/lcd/extui/dgus_reloaded/DGUSScreenHandler.h

@ -19,7 +19,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#pragma once
#include "config/DGUS_Addr.h"

1
Marlin/src/lcd/extui/dgus_reloaded/DGUSSetupHandler.h

@ -19,7 +19,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#pragma once
namespace DGUSSetupHandler {

1
Marlin/src/lcd/extui/dgus_reloaded/DGUSTxHandler.h

@ -19,7 +19,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#pragma once
#include "DGUSDisplay.h"

1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/bioprinter/ui_landscape.h

@ -21,7 +21,6 @@
* 0x0000 and 0xFFFE. A single 0xFFFF in the data stream indicates the
* start of a new closed path.
*/
#pragma once
constexpr float x_min = 0.000000;

1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/bioprinter/ui_portrait.h

@ -21,7 +21,6 @@
* 0x0000 and 0xFFFE. A single 0xFFFF in the data stream indicates the
* start of a new closed path.
*/
#pragma once
constexpr float x_min = 0.000000;

1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/cocoa_press/cocoa_press_ui.h

@ -21,7 +21,6 @@
* 0x0000 and 0xFFFE. A single 0xFFFF in the data stream indicates the
* start of a new closed path.
*/
#pragma once
constexpr float x_min = 0.000000;

1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/generic/custom_user_menus.h

@ -19,7 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#pragma once
#define FTDI_CUSTOM_USER_MENUS

1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/theme/bootscreen_logo_portrait.h

@ -20,7 +20,6 @@
* 0x0000 and 0xFFFE. A single 0xFFFF in the data stream indicates the
* start of a new closed path.
*/
#pragma once
constexpr float x_min = 0.000000, x_max = 272.000000,

1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/theme/marlin_bootscreen_landscape.h

@ -21,7 +21,6 @@
* 0x0000 and 0xFFFE. A single 0xFFFF in the data stream indicates the
* start of a new closed path.
*/
#pragma once
constexpr float x_min = 0.000000;

1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/theme/marlin_bootscreen_portrait.h

@ -21,7 +21,6 @@
* 0x0000 and 0xFFFE. A single 0xFFFF in the data stream indicates the
* start of a new closed path.
*/
#pragma once
constexpr float x_min = 0.000000;

1
Marlin/src/lcd/extui/mks_ui/draw_about.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_acceleration_settings.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_advance_settings.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_auto_level_offset_settings.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if BOTH(HAS_TFT_LVGL_UI, HAS_BED_PROBE)

1
Marlin/src/lcd/extui/mks_ui/draw_baby_stepping.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_change_speed.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_cloud_bind.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if BOTH(HAS_TFT_LVGL_UI, MKS_WIFI_MODULE)

1
Marlin/src/lcd/extui/mks_ui/draw_eeprom_settings.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_encoder_settings.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_error_message.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_extrusion.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_fan.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_filament_change.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_filament_settings.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_gcode.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_home.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_homing_sensitivity_settings.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfig.h"
#if HAS_TFT_LVGL_UI && USE_SENSORLESS

1
Marlin/src/lcd/extui/mks_ui/draw_jerk_settings.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if BOTH(HAS_TFT_LVGL_UI, HAS_CLASSIC_JERK)

1
Marlin/src/lcd/extui/mks_ui/draw_keyboard.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_language.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_level_settings.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_machine_para.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_machine_settings.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_manuaLevel.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_max_feedrate_settings.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_more.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_motor_settings.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_move_motor.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_number_key.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_operation.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_pause_message.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if BOTH(HAS_TFT_LVGL_UI, ADVANCED_PAUSE_FEATURE)

1
Marlin/src/lcd/extui/mks_ui/draw_pause_position.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_preHeat.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_print_file.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

1
Marlin/src/lcd/extui/mks_ui/draw_printing.cpp

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../../../inc/MarlinConfigPre.h"
#if HAS_TFT_LVGL_UI

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

Loading…
Cancel
Save