Browse Source

🎨 Misc formatting

vanilla_fb_2.0.x
Scott Lahteine 3 years ago
parent
commit
2cc4a1b326
  1. 5
      Marlin/src/HAL/NATIVE_SIM/u8g/u8g_com_sw_spi.cpp
  2. 2
      Marlin/src/lcd/extui/mks_ui/draw_about.h
  3. 2
      Marlin/src/lcd/extui/mks_ui/draw_acceleration_settings.h
  4. 2
      Marlin/src/lcd/extui/mks_ui/draw_advance_settings.h
  5. 2
      Marlin/src/lcd/extui/mks_ui/draw_auto_level_offset_settings.h
  6. 2
      Marlin/src/lcd/extui/mks_ui/draw_baby_stepping.h
  7. 2
      Marlin/src/lcd/extui/mks_ui/draw_change_speed.h
  8. 4
      Marlin/src/lcd/extui/mks_ui/draw_cloud_bind.h
  9. 2
      Marlin/src/lcd/extui/mks_ui/draw_dialog.h
  10. 2
      Marlin/src/lcd/extui/mks_ui/draw_eeprom_settings.h
  11. 2
      Marlin/src/lcd/extui/mks_ui/draw_encoder_settings.h
  12. 2
      Marlin/src/lcd/extui/mks_ui/draw_error_message.h
  13. 2
      Marlin/src/lcd/extui/mks_ui/draw_extrusion.h
  14. 2
      Marlin/src/lcd/extui/mks_ui/draw_fan.h
  15. 2
      Marlin/src/lcd/extui/mks_ui/draw_filament_change.h
  16. 2
      Marlin/src/lcd/extui/mks_ui/draw_filament_settings.h
  17. 2
      Marlin/src/lcd/extui/mks_ui/draw_gcode.h
  18. 2
      Marlin/src/lcd/extui/mks_ui/draw_home.h
  19. 2
      Marlin/src/lcd/extui/mks_ui/draw_homing_sensitivity_settings.h
  20. 2
      Marlin/src/lcd/extui/mks_ui/draw_jerk_settings.h
  21. 2
      Marlin/src/lcd/extui/mks_ui/draw_keyboard.h
  22. 2
      Marlin/src/lcd/extui/mks_ui/draw_language.h
  23. 2
      Marlin/src/lcd/extui/mks_ui/draw_level_settings.h
  24. 2
      Marlin/src/lcd/extui/mks_ui/draw_machine_para.h
  25. 2
      Marlin/src/lcd/extui/mks_ui/draw_machine_settings.h
  26. 2
      Marlin/src/lcd/extui/mks_ui/draw_manuaLevel.h
  27. 2
      Marlin/src/lcd/extui/mks_ui/draw_max_feedrate_settings.h
  28. 2
      Marlin/src/lcd/extui/mks_ui/draw_media_select.h
  29. 4
      Marlin/src/lcd/extui/mks_ui/draw_more.h
  30. 2
      Marlin/src/lcd/extui/mks_ui/draw_motor_settings.h
  31. 2
      Marlin/src/lcd/extui/mks_ui/draw_move_motor.h
  32. 2
      Marlin/src/lcd/extui/mks_ui/draw_number_key.h
  33. 2
      Marlin/src/lcd/extui/mks_ui/draw_operation.h
  34. 2
      Marlin/src/lcd/extui/mks_ui/draw_pause_message.h
  35. 2
      Marlin/src/lcd/extui/mks_ui/draw_pause_position.h
  36. 2
      Marlin/src/lcd/extui/mks_ui/draw_preHeat.h
  37. 2
      Marlin/src/lcd/extui/mks_ui/draw_print_file.h
  38. 2
      Marlin/src/lcd/extui/mks_ui/draw_printing.h
  39. 2
      Marlin/src/lcd/extui/mks_ui/draw_ready_print.h
  40. 2
      Marlin/src/lcd/extui/mks_ui/draw_set.h
  41. 2
      Marlin/src/lcd/extui/mks_ui/draw_step_settings.h
  42. 2
      Marlin/src/lcd/extui/mks_ui/draw_tmc_current_settings.h
  43. 2
      Marlin/src/lcd/extui/mks_ui/draw_tmc_step_mode_settings.h
  44. 2
      Marlin/src/lcd/extui/mks_ui/draw_tool.h
  45. 2
      Marlin/src/lcd/extui/mks_ui/draw_touch_calibration.h
  46. 2
      Marlin/src/lcd/extui/mks_ui/draw_tramming_pos_settings.h
  47. 2
      Marlin/src/lcd/extui/mks_ui/draw_ui.h
  48. 2
      Marlin/src/lcd/extui/mks_ui/draw_wifi.h
  49. 2
      Marlin/src/lcd/extui/mks_ui/draw_wifi_list.h
  50. 2
      Marlin/src/lcd/extui/mks_ui/draw_wifi_settings.h
  51. 2
      Marlin/src/lcd/extui/mks_ui/draw_wifi_tips.h
  52. 2
      Marlin/src/lcd/extui/mks_ui/irq_overrid.cpp
  53. 2
      Marlin/src/lcd/extui/mks_ui/pic_manager.h
  54. 2
      Marlin/src/lcd/extui/mks_ui/printer_operation.h
  55. 2
      Marlin/src/lcd/extui/mks_ui/tft_lvgl_configuration.h
  56. 2
      Marlin/src/lcd/extui/mks_ui/wifi_module.h
  57. 2
      Marlin/src/lcd/extui/mks_ui/wifi_upload.h

5
Marlin/src/HAL/NATIVE_SIM/u8g/u8g_com_sw_spi.cpp

@ -208,8 +208,11 @@ uint8_t u8g_com_sw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void *arg_pt
} }
#endif #endif
#elif !ANY(TFT_COLOR_UI, TFT_CLASSIC_UI, TFT_LVGL_UI, HAS_MARLINUI_HD44780) && HAS_MARLINUI_U8GLIB #elif NONE(TFT_COLOR_UI, TFT_CLASSIC_UI, TFT_LVGL_UI, HAS_MARLINUI_HD44780) && HAS_MARLINUI_U8GLIB
#include <U8glib-HAL.h> #include <U8glib-HAL.h>
uint8_t u8g_com_sw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void *arg_ptr) {return 0;} uint8_t u8g_com_sw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void *arg_ptr) {return 0;}
#endif // HAS_MARLINUI_U8GLIB && !IS_U8GLIB_ST7920 #endif // HAS_MARLINUI_U8GLIB && !IS_U8GLIB_ST7920
#endif // __PLAT_NATIVE_SIM__ #endif // __PLAT_NATIVE_SIM__

2
Marlin/src/lcd/extui/mks_ui/draw_about.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_about(); void lv_draw_about();

2
Marlin/src/lcd/extui/mks_ui/draw_acceleration_settings.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_acceleration_settings(); void lv_draw_acceleration_settings();

2
Marlin/src/lcd/extui/mks_ui/draw_advance_settings.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_advance_settings(); void lv_draw_advance_settings();

2
Marlin/src/lcd/extui/mks_ui/draw_auto_level_offset_settings.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_auto_level_offset_settings(); void lv_draw_auto_level_offset_settings();

2
Marlin/src/lcd/extui/mks_ui/draw_baby_stepping.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_baby_stepping(); void lv_draw_baby_stepping();

2
Marlin/src/lcd/extui/mks_ui/draw_change_speed.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
#define MIN_EXT_SPEED_PERCENT 10 #define MIN_EXT_SPEED_PERCENT 10

4
Marlin/src/lcd/extui/mks_ui/draw_cloud_bind.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_cloud_bind(); void lv_draw_cloud_bind();
@ -33,5 +33,5 @@ void display_qrcode(uint8_t *qrcode_data);
void cloud_unbind(); void cloud_unbind();
#ifdef __cplusplus #ifdef __cplusplus
} /* C-declarations for C++ */ }
#endif #endif

2
Marlin/src/lcd/extui/mks_ui/draw_dialog.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
enum { enum {

2
Marlin/src/lcd/extui/mks_ui/draw_eeprom_settings.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_eeprom_settings(); void lv_draw_eeprom_settings();

2
Marlin/src/lcd/extui/mks_ui/draw_encoder_settings.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_encoder_settings(); void lv_draw_encoder_settings();

2
Marlin/src/lcd/extui/mks_ui/draw_error_message.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
#ifndef PGM_P #ifndef PGM_P

2
Marlin/src/lcd/extui/mks_ui/draw_extrusion.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_extrusion(); void lv_draw_extrusion();

2
Marlin/src/lcd/extui/mks_ui/draw_fan.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_fan(); void lv_draw_fan();

2
Marlin/src/lcd/extui/mks_ui/draw_filament_change.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_filament_change(); void lv_draw_filament_change();

2
Marlin/src/lcd/extui/mks_ui/draw_filament_settings.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_filament_settings(); void lv_draw_filament_settings();

2
Marlin/src/lcd/extui/mks_ui/draw_gcode.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_gcode(bool clear = false); void lv_draw_gcode(bool clear = false);

2
Marlin/src/lcd/extui/mks_ui/draw_home.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_home(); void lv_draw_home();

2
Marlin/src/lcd/extui/mks_ui/draw_homing_sensitivity_settings.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_homing_sensitivity_settings(); void lv_draw_homing_sensitivity_settings();

2
Marlin/src/lcd/extui/mks_ui/draw_jerk_settings.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_jerk_settings(); void lv_draw_jerk_settings();

2
Marlin/src/lcd/extui/mks_ui/draw_keyboard.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_keyboard(); void lv_draw_keyboard();

2
Marlin/src/lcd/extui/mks_ui/draw_language.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_language(); void lv_draw_language();

2
Marlin/src/lcd/extui/mks_ui/draw_level_settings.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_level_settings(); void lv_draw_level_settings();

2
Marlin/src/lcd/extui/mks_ui/draw_machine_para.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_machine_para(); void lv_draw_machine_para();

2
Marlin/src/lcd/extui/mks_ui/draw_machine_settings.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_machine_settings(); void lv_draw_machine_settings();

2
Marlin/src/lcd/extui/mks_ui/draw_manuaLevel.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_manualLevel(); void lv_draw_manualLevel();

2
Marlin/src/lcd/extui/mks_ui/draw_max_feedrate_settings.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_max_feedrate_settings(); void lv_draw_max_feedrate_settings();

2
Marlin/src/lcd/extui/mks_ui/draw_media_select.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
extern void lv_draw_media_select(); extern void lv_draw_media_select();

4
Marlin/src/lcd/extui/mks_ui/draw_more.h

@ -22,12 +22,12 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_more(); void lv_draw_more();
void lv_clear_more(); void lv_clear_more();
#ifdef __cplusplus #ifdef __cplusplus
} /* C-declarations for C++ */ }
#endif #endif

2
Marlin/src/lcd/extui/mks_ui/draw_motor_settings.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_motor_settings(); void lv_draw_motor_settings();

2
Marlin/src/lcd/extui/mks_ui/draw_move_motor.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_move_motor(); void lv_draw_move_motor();

2
Marlin/src/lcd/extui/mks_ui/draw_number_key.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_number_key(); void lv_draw_number_key();

2
Marlin/src/lcd/extui/mks_ui/draw_operation.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_operation(); void lv_draw_operation();

2
Marlin/src/lcd/extui/mks_ui/draw_pause_message.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_pause_message(const PauseMessage msg); void lv_draw_pause_message(const PauseMessage msg);

2
Marlin/src/lcd/extui/mks_ui/draw_pause_position.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_pause_position(); void lv_draw_pause_position();

2
Marlin/src/lcd/extui/mks_ui/draw_preHeat.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_preHeat(); void lv_draw_preHeat();

2
Marlin/src/lcd/extui/mks_ui/draw_print_file.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
typedef struct { typedef struct {

2
Marlin/src/lcd/extui/mks_ui/draw_printing.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
enum { enum {

2
Marlin/src/lcd/extui/mks_ui/draw_ready_print.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_ready_print(); void lv_draw_ready_print();

2
Marlin/src/lcd/extui/mks_ui/draw_set.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_set(); void lv_draw_set();

2
Marlin/src/lcd/extui/mks_ui/draw_step_settings.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_step_settings(); void lv_draw_step_settings();

2
Marlin/src/lcd/extui/mks_ui/draw_tmc_current_settings.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_tmc_current_settings(); void lv_draw_tmc_current_settings();

2
Marlin/src/lcd/extui/mks_ui/draw_tmc_step_mode_settings.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_tmc_step_mode_settings(); void lv_draw_tmc_step_mode_settings();

2
Marlin/src/lcd/extui/mks_ui/draw_tool.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_tool(); void lv_draw_tool();

2
Marlin/src/lcd/extui/mks_ui/draw_touch_calibration.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_touch_calibration_screen(); void lv_draw_touch_calibration_screen();

2
Marlin/src/lcd/extui/mks_ui/draw_tramming_pos_settings.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_tramming_pos_settings(); void lv_draw_tramming_pos_settings();

2
Marlin/src/lcd/extui/mks_ui/draw_ui.h

@ -178,7 +178,7 @@
#endif // ifdef TFT35 #endif // ifdef TFT35
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
extern char public_buf_m[100]; extern char public_buf_m[100];

2
Marlin/src/lcd/extui/mks_ui/draw_wifi.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif

2
Marlin/src/lcd/extui/mks_ui/draw_wifi_list.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
void lv_draw_wifi_list(); void lv_draw_wifi_list();

2
Marlin/src/lcd/extui/mks_ui/draw_wifi_settings.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
#define WIFI_AP_TEXT "AP" #define WIFI_AP_TEXT "AP"

2
Marlin/src/lcd/extui/mks_ui/draw_wifi_tips.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif

2
Marlin/src/lcd/extui/mks_ui/irq_overrid.cpp

@ -39,7 +39,7 @@
#include "../../../inc/MarlinConfig.h" #include "../../../inc/MarlinConfig.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
#define WIFI_IO1_SET() WRITE(WIFI_IO1_PIN, HIGH); #define WIFI_IO1_SET() WRITE(WIFI_IO1_PIN, HIGH);

2
Marlin/src/lcd/extui/mks_ui/pic_manager.h

@ -131,7 +131,7 @@
#define OTHERS_COMMAND_ADDR_4 OTHERS_COMMAND_ADDR_3 + 100 #define OTHERS_COMMAND_ADDR_4 OTHERS_COMMAND_ADDR_3 + 100
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
union union32 { union union32 {

2
Marlin/src/lcd/extui/mks_ui/printer_operation.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
#define MIN_FILE_PRINTED 100 //5000 #define MIN_FILE_PRINTED 100 //5000

2
Marlin/src/lcd/extui/mks_ui/tft_lvgl_configuration.h

@ -27,7 +27,7 @@
*/ */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
#include <lvgl.h> #include <lvgl.h>

2
Marlin/src/lcd/extui/mks_ui/wifi_module.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
#include "../../../inc/MarlinConfigPre.h" #include "../../../inc/MarlinConfigPre.h"

2
Marlin/src/lcd/extui/mks_ui/wifi_upload.h

@ -22,7 +22,7 @@
#pragma once #pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* C-declarations for C++ */ extern "C" {
#endif #endif
#define ESP_FIRMWARE_FILE "MksWifi.bin" #define ESP_FIRMWARE_FILE "MksWifi.bin"

Loading…
Cancel
Save