🎨 Misc formatting

This commit is contained in:
Scott Lahteine 2021-11-17 13:01:44 -06:00
parent 2edda4c582
commit f1af475253
57 changed files with 62 additions and 59 deletions

View file

@ -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
#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>
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 // __PLAT_NATIVE_SIM__

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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