Remove extraneous 'extern' hints (#21516)
This commit is contained in:
parent
9d0b6c5730
commit
c2b72c0e73
@ -25,5 +25,5 @@
|
|||||||
* feature/fanmux.h - Cooling Fan Multiplexer support functions
|
* feature/fanmux.h - Cooling Fan Multiplexer support functions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
extern void fanmux_switch(const uint8_t e);
|
void fanmux_switch(const uint8_t e);
|
||||||
extern void fanmux_init();
|
void fanmux_init();
|
||||||
|
@ -117,7 +117,7 @@ extern DGUSDisplay dgusdisplay;
|
|||||||
constexpr float cpow(const float x, const int y) { return y == 0 ? 1.0 : x * cpow(x, y - 1); }
|
constexpr float cpow(const float x, const int y) { return y == 0 ? 1.0 : x * cpow(x, y - 1); }
|
||||||
|
|
||||||
/// Find the flash address of a DGUS_VP_Variable for the VP.
|
/// Find the flash address of a DGUS_VP_Variable for the VP.
|
||||||
extern const DGUS_VP_Variable* DGUSLCD_FindVPVar(const uint16_t vp);
|
const DGUS_VP_Variable* DGUSLCD_FindVPVar(const uint16_t vp);
|
||||||
|
|
||||||
/// Helper to populate a DGUS_VP_Variable for a given VP. Return false if not found.
|
/// Helper to populate a DGUS_VP_Variable for a given VP. Return false if not found.
|
||||||
extern bool populate_VPVar(const uint16_t VP, DGUS_VP_Variable * const ramcopy);
|
bool populate_VPVar(const uint16_t VP, DGUS_VP_Variable * const ramcopy);
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_about();
|
void lv_draw_about();
|
||||||
extern void lv_clear_about();
|
void lv_clear_about();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_acceleration_settings();
|
void lv_draw_acceleration_settings();
|
||||||
extern void lv_clear_acceleration_settings();
|
void lv_clear_acceleration_settings();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_advance_settings();
|
void lv_draw_advance_settings();
|
||||||
extern void lv_clear_advance_settings();
|
void lv_clear_advance_settings();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_auto_level_offset_settings();
|
void lv_draw_auto_level_offset_settings();
|
||||||
extern void lv_clear_auto_level_offset_settings();
|
void lv_clear_auto_level_offset_settings();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,10 +25,10 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_baby_stepping();
|
void lv_draw_baby_stepping();
|
||||||
extern void lv_clear_baby_stepping();
|
void lv_clear_baby_stepping();
|
||||||
extern void disp_baby_step_dist();
|
void disp_baby_step_dist();
|
||||||
extern void disp_z_offset_value();
|
void disp_z_offset_value();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -28,11 +28,11 @@
|
|||||||
#define MIN_EXT_SPEED_PERCENT 10
|
#define MIN_EXT_SPEED_PERCENT 10
|
||||||
#define MAX_EXT_SPEED_PERCENT 999
|
#define MAX_EXT_SPEED_PERCENT 999
|
||||||
|
|
||||||
extern void lv_draw_change_speed();
|
void lv_draw_change_speed();
|
||||||
extern void lv_clear_change_speed();
|
void lv_clear_change_speed();
|
||||||
extern void disp_speed_step();
|
void disp_speed_step();
|
||||||
extern void disp_print_speed();
|
void disp_print_speed();
|
||||||
extern void disp_speed_type();
|
void disp_speed_type();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,12 +25,12 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_cloud_bind();
|
void lv_draw_cloud_bind();
|
||||||
extern void lv_clear_cloud_bind();
|
void lv_clear_cloud_bind();
|
||||||
extern void disp_bind_state();
|
void disp_bind_state();
|
||||||
extern void refresh_bind_ui();
|
void refresh_bind_ui();
|
||||||
extern void display_qrcode(uint8_t *qrcode_data);
|
void display_qrcode(uint8_t *qrcode_data);
|
||||||
extern void cloud_unbind();
|
void cloud_unbind();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -74,11 +74,11 @@ enum {
|
|||||||
DIALOG_TRANSFER_NO_DEVICE
|
DIALOG_TRANSFER_NO_DEVICE
|
||||||
};
|
};
|
||||||
|
|
||||||
extern void lv_draw_dialog(uint8_t type);
|
void lv_draw_dialog(uint8_t type);
|
||||||
extern void lv_clear_dialog();
|
void lv_clear_dialog();
|
||||||
extern void filament_sprayer_temp();
|
void filament_sprayer_temp();
|
||||||
extern void filament_dialog_handle();
|
void filament_dialog_handle();
|
||||||
extern void lv_filament_setbar();
|
void lv_filament_setbar();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_eeprom_settings();
|
void lv_draw_eeprom_settings();
|
||||||
extern void lv_clear_eeprom_settings();
|
void lv_clear_eeprom_settings();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_encoder_settings();
|
void lv_draw_encoder_settings();
|
||||||
extern void lv_clear_encoder_settings();
|
void lv_clear_encoder_settings();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -29,8 +29,8 @@
|
|||||||
#define PGM_P const char *
|
#define PGM_P const char *
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_error_message(PGM_P const msg);
|
void lv_draw_error_message(PGM_P const msg);
|
||||||
extern void lv_clear_error_message();
|
void lv_clear_error_message();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,13 +25,13 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_extrusion();
|
void lv_draw_extrusion();
|
||||||
extern void lv_clear_extrusion();
|
void lv_clear_extrusion();
|
||||||
extern void disp_ext_type();
|
void disp_ext_type();
|
||||||
extern void disp_ext_step();
|
void disp_ext_step();
|
||||||
extern void disp_ext_speed();
|
void disp_ext_speed();
|
||||||
extern void disp_hotend_temp();
|
void disp_hotend_temp();
|
||||||
extern void disp_extru_amount();
|
void disp_extru_amount();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_fan();
|
void lv_draw_fan();
|
||||||
extern void lv_clear_fan();
|
void lv_clear_fan();
|
||||||
extern void disp_fan_value();
|
void disp_fan_value();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,10 +25,10 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_filament_change();
|
void lv_draw_filament_change();
|
||||||
extern void lv_clear_filament_change();
|
void lv_clear_filament_change();
|
||||||
extern void disp_filament_type();
|
void disp_filament_type();
|
||||||
extern void disp_filament_temp();
|
void disp_filament_temp();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_filament_settings();
|
void lv_draw_filament_settings();
|
||||||
extern void lv_clear_filament_settings();
|
void lv_clear_filament_settings();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_gcode(bool clear = false);
|
void lv_draw_gcode(bool clear = false);
|
||||||
extern void lv_clear_gcode();
|
void lv_clear_gcode();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_home();
|
void lv_draw_home();
|
||||||
extern void lv_clear_home();
|
void lv_clear_home();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_homing_sensitivity_settings();
|
void lv_draw_homing_sensitivity_settings();
|
||||||
extern void lv_clear_homing_sensitivity_settings();
|
void lv_clear_homing_sensitivity_settings();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_jerk_settings();
|
void lv_draw_jerk_settings();
|
||||||
extern void lv_clear_jerk_settings();
|
void lv_clear_jerk_settings();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_keyboard();
|
void lv_draw_keyboard();
|
||||||
extern void lv_clear_keyboard();
|
void lv_clear_keyboard();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_language();
|
void lv_draw_language();
|
||||||
extern void lv_clear_language();
|
void lv_clear_language();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_level_settings();
|
void lv_draw_level_settings();
|
||||||
extern void lv_clear_level_settings();
|
void lv_clear_level_settings();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_machine_para();
|
void lv_draw_machine_para();
|
||||||
extern void lv_clear_machine_para();
|
void lv_clear_machine_para();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_machine_settings();
|
void lv_draw_machine_settings();
|
||||||
extern void lv_clear_machine_settings();
|
void lv_clear_machine_settings();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_manualLevel();
|
void lv_draw_manualLevel();
|
||||||
extern void lv_clear_manualLevel();
|
void lv_clear_manualLevel();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_max_feedrate_settings();
|
void lv_draw_max_feedrate_settings();
|
||||||
extern void lv_clear_max_feedrate_settings();
|
void lv_clear_max_feedrate_settings();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_more();
|
void lv_draw_more();
|
||||||
extern void lv_clear_more();
|
void lv_clear_more();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_motor_settings();
|
void lv_draw_motor_settings();
|
||||||
extern void lv_clear_motor_settings();
|
void lv_clear_motor_settings();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_move_motor();
|
void lv_draw_move_motor();
|
||||||
extern void lv_clear_move_motor();
|
void lv_clear_move_motor();
|
||||||
extern void disp_move_dist();
|
void disp_move_dist();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_number_key();
|
void lv_draw_number_key();
|
||||||
extern void lv_clear_number_key();
|
void lv_clear_number_key();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_operation();
|
void lv_draw_operation();
|
||||||
extern void lv_clear_operation();
|
void lv_clear_operation();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_pause_message(const PauseMessage msg);
|
void lv_draw_pause_message(const PauseMessage msg);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_pause_position();
|
void lv_draw_pause_position();
|
||||||
extern void lv_clear_pause_position();
|
void lv_clear_pause_position();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,11 +25,11 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_preHeat();
|
void lv_draw_preHeat();
|
||||||
extern void lv_clear_preHeat();
|
void lv_clear_preHeat();
|
||||||
extern void disp_temp_type();
|
void disp_temp_type();
|
||||||
extern void disp_step_heat();
|
void disp_step_heat();
|
||||||
extern void disp_desire_temp();
|
void disp_desire_temp();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -49,15 +49,15 @@ typedef struct {
|
|||||||
} LIST_FILE;
|
} LIST_FILE;
|
||||||
extern LIST_FILE list_file;
|
extern LIST_FILE list_file;
|
||||||
|
|
||||||
extern void disp_gcode_icon(uint8_t file_num);
|
void disp_gcode_icon(uint8_t file_num);
|
||||||
extern void lv_draw_print_file();
|
void lv_draw_print_file();
|
||||||
extern uint32_t lv_open_gcode_file(char *path);
|
uint32_t lv_open_gcode_file(char *path);
|
||||||
extern void lv_gcode_file_read(uint8_t *data_buf);
|
void lv_gcode_file_read(uint8_t *data_buf);
|
||||||
extern void lv_close_gcode_file();
|
void lv_close_gcode_file();
|
||||||
extern void cutFileName(char *path, int len, int bytePerLine, char *outStr);
|
void cutFileName(char *path, int len, int bytePerLine, char *outStr);
|
||||||
extern int ascii2dec_test(char *ascii);
|
int ascii2dec_test(char *ascii);
|
||||||
extern void lv_clear_print_file();
|
void lv_clear_print_file();
|
||||||
extern void lv_gcode_file_seek(uint32_t pos);
|
void lv_gcode_file_seek(uint32_t pos);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -36,17 +36,17 @@ enum {
|
|||||||
STOP
|
STOP
|
||||||
};
|
};
|
||||||
|
|
||||||
extern void lv_draw_printing();
|
void lv_draw_printing();
|
||||||
extern void lv_clear_printing();
|
void lv_clear_printing();
|
||||||
extern void disp_ext_temp();
|
void disp_ext_temp();
|
||||||
extern void disp_bed_temp();
|
void disp_bed_temp();
|
||||||
extern void disp_fan_speed();
|
void disp_fan_speed();
|
||||||
extern void disp_print_time();
|
void disp_print_time();
|
||||||
extern void disp_fan_Zpos();
|
void disp_fan_Zpos();
|
||||||
extern void reset_print_time();
|
void reset_print_time();
|
||||||
extern void start_print_time();
|
void start_print_time();
|
||||||
extern void stop_print_time();
|
void stop_print_time();
|
||||||
extern void setProBarRate();
|
void setProBarRate();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,14 +25,14 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_ready_print();
|
void lv_draw_ready_print();
|
||||||
extern void mks_disp_test();
|
void mks_disp_test();
|
||||||
extern void disp_Limit_ok();
|
void disp_Limit_ok();
|
||||||
extern void disp_Limit_error();
|
void disp_Limit_error();
|
||||||
extern void disp_det_error();
|
void disp_det_error();
|
||||||
extern void disp_det_ok();
|
void disp_det_ok();
|
||||||
extern void lv_clear_ready_print();
|
void lv_clear_ready_print();
|
||||||
extern void lv_temp_refr();
|
void lv_temp_refr();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_set();
|
void lv_draw_set();
|
||||||
extern void lv_clear_set();
|
void lv_clear_set();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_step_settings();
|
void lv_draw_step_settings();
|
||||||
extern void lv_clear_step_settings();
|
void lv_clear_step_settings();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_tmc_current_settings();
|
void lv_draw_tmc_current_settings();
|
||||||
extern void lv_clear_tmc_current_settings();
|
void lv_clear_tmc_current_settings();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_tmc_step_mode_settings();
|
void lv_draw_tmc_step_mode_settings();
|
||||||
extern void lv_clear_tmc_step_mode_settings();
|
void lv_clear_tmc_step_mode_settings();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_tool();
|
void lv_draw_tool();
|
||||||
extern void lv_clear_tool();
|
void lv_clear_tool();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_touch_calibration_screen();
|
void lv_draw_touch_calibration_screen();
|
||||||
extern void lv_clear_touch_calibration_screen();
|
void lv_clear_touch_calibration_screen();
|
||||||
extern void lv_update_touch_calibration_screen();
|
void lv_update_touch_calibration_screen();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_tramming_pos_settings();
|
void lv_draw_tramming_pos_settings();
|
||||||
extern void lv_clear_tramming_pos_settings();
|
void lv_clear_tramming_pos_settings();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -72,7 +72,7 @@ extern bool once_flag;
|
|||||||
extern uint8_t sel_id;
|
extern uint8_t sel_id;
|
||||||
extern lv_group_t *g;
|
extern lv_group_t *g;
|
||||||
|
|
||||||
extern void LCD_IO_WriteData(uint16_t RegValue);
|
void LCD_IO_WriteData(uint16_t RegValue);
|
||||||
|
|
||||||
static const char custom_gcode_command[][100] = {
|
static const char custom_gcode_command[][100] = {
|
||||||
"G29N\nM500",
|
"G29N\nM500",
|
||||||
|
@ -442,28 +442,28 @@ extern lv_style_t style_btn_rel;
|
|||||||
|
|
||||||
extern lv_point_t line_points[4][2];
|
extern lv_point_t line_points[4][2];
|
||||||
|
|
||||||
extern void gCfgItems_init();
|
void gCfgItems_init();
|
||||||
extern void ui_cfg_init();
|
void ui_cfg_init();
|
||||||
extern void tft_style_init();
|
void tft_style_init();
|
||||||
extern char *creat_title_text();
|
extern char *creat_title_text();
|
||||||
extern void preview_gcode_prehandle(char *path);
|
void preview_gcode_prehandle(char *path);
|
||||||
extern void update_spi_flash();
|
void update_spi_flash();
|
||||||
extern void update_gcode_command(int addr,uint8_t *s);
|
void update_gcode_command(int addr,uint8_t *s);
|
||||||
extern void get_gcode_command(int addr,uint8_t *d);
|
void get_gcode_command(int addr,uint8_t *d);
|
||||||
extern void lv_serial_capt_hook(void *, uint8_t);
|
void lv_serial_capt_hook(void *, uint8_t);
|
||||||
extern void lv_eom_hook(void *);
|
void lv_eom_hook(void *);
|
||||||
#if HAS_GCODE_PREVIEW
|
#if HAS_GCODE_PREVIEW
|
||||||
extern void disp_pre_gcode(int xpos_pixel, int ypos_pixel);
|
void disp_pre_gcode(int xpos_pixel, int ypos_pixel);
|
||||||
#endif
|
#endif
|
||||||
extern void GUI_RefreshPage();
|
void GUI_RefreshPage();
|
||||||
extern void clear_cur_ui();
|
void clear_cur_ui();
|
||||||
extern void draw_return_ui();
|
void draw_return_ui();
|
||||||
extern void sd_detection();
|
void sd_detection();
|
||||||
extern void gCfg_to_spiFlah();
|
void gCfg_to_spiFlah();
|
||||||
extern void print_time_count();
|
void print_time_count();
|
||||||
|
|
||||||
extern void LV_TASK_HANDLER();
|
void LV_TASK_HANDLER();
|
||||||
extern void lv_ex_line(lv_obj_t *line, lv_point_t *points);
|
void lv_ex_line(lv_obj_t *line, lv_point_t *points);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -26,9 +26,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
extern void lv_draw_wifi();
|
void lv_draw_wifi();
|
||||||
extern void lv_clear_wifi();
|
void lv_clear_wifi();
|
||||||
extern void disp_wifi_state();
|
void disp_wifi_state();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -25,11 +25,11 @@
|
|||||||
extern "C" { /* C-declarations for C++ */
|
extern "C" { /* C-declarations for C++ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void lv_draw_wifi_list();
|
void lv_draw_wifi_list();
|
||||||
extern void lv_clear_wifi_list();
|
void lv_clear_wifi_list();
|
||||||
extern void disp_wifi_list();
|
void disp_wifi_list();
|
||||||
extern void cutWifiName(char *name, int len,char *outStr);
|
void cutWifiName(char *name, int len,char *outStr);
|
||||||
extern void wifi_scan_handle();
|
void wifi_scan_handle();
|
||||||
|
|
||||||
#define NUMBER_OF_PAGE 5
|
#define NUMBER_OF_PAGE 5
|
||||||
|
|
||||||
|
@ -28,8 +28,8 @@
|
|||||||
#define WIFI_AP_TEXT "AP"
|
#define WIFI_AP_TEXT "AP"
|
||||||
#define WIFI_STA_TEXT "STA"
|
#define WIFI_STA_TEXT "STA"
|
||||||
|
|
||||||
extern void lv_draw_wifi_settings();
|
void lv_draw_wifi_settings();
|
||||||
extern void lv_clear_wifi_settings();
|
void lv_clear_wifi_settings();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
extern void lv_draw_wifi_tips();
|
void lv_draw_wifi_tips();
|
||||||
extern void lv_clear_wifi_tips();
|
void lv_clear_wifi_tips();
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
TIPS_TYPE_JOINING,
|
TIPS_TYPE_JOINING,
|
||||||
|
@ -154,14 +154,14 @@ typedef struct pic_msg PIC_MSG;
|
|||||||
#define PIC_SIZE_xM 6
|
#define PIC_SIZE_xM 6
|
||||||
#define FONT_SIZE_xM 2
|
#define FONT_SIZE_xM 2
|
||||||
|
|
||||||
extern void Pic_Read(uint8_t *Pname, uint8_t *P_Rbuff);
|
void Pic_Read(uint8_t *Pname, uint8_t *P_Rbuff);
|
||||||
extern void Pic_Logo_Read(uint8_t *LogoName,uint8_t *Logo_Rbuff,uint32_t LogoReadsize);
|
void Pic_Logo_Read(uint8_t *LogoName,uint8_t *Logo_Rbuff,uint32_t LogoReadsize);
|
||||||
extern void lv_pic_test(uint8_t *P_Rbuff, uint32_t addr, uint32_t size);
|
void lv_pic_test(uint8_t *P_Rbuff, uint32_t addr, uint32_t size);
|
||||||
extern uint32_t lv_get_pic_addr(uint8_t *Pname);
|
uint32_t lv_get_pic_addr(uint8_t *Pname);
|
||||||
extern void get_spi_flash_data(const char *rec_buf, int offset, int size);
|
void get_spi_flash_data(const char *rec_buf, int offset, int size);
|
||||||
extern void spi_flash_read_test();
|
void spi_flash_read_test();
|
||||||
extern void default_view_Read(uint8_t *default_view_Rbuff, uint32_t default_view_Readsize);
|
void default_view_Read(uint8_t *default_view_Rbuff, uint32_t default_view_Readsize);
|
||||||
extern void flash_view_Read(uint8_t *flash_view_Rbuff, uint32_t flash_view_Readsize);
|
void flash_view_Read(uint8_t *flash_view_Rbuff, uint32_t flash_view_Readsize);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -27,9 +27,9 @@
|
|||||||
|
|
||||||
#define MIN_FILE_PRINTED 100 //5000
|
#define MIN_FILE_PRINTED 100 //5000
|
||||||
|
|
||||||
extern void printer_state_polling();
|
void printer_state_polling();
|
||||||
extern void filament_pin_setup();
|
void filament_pin_setup();
|
||||||
extern void filament_check();
|
void filament_check();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -64,13 +64,13 @@ XPT2046 touch;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAS_SPI_FLASH_FONT
|
#if HAS_SPI_FLASH_FONT
|
||||||
extern void init_gb2312_font();
|
void init_gb2312_font();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static lv_disp_buf_t disp_buf;
|
static lv_disp_buf_t disp_buf;
|
||||||
lv_group_t* g;
|
lv_group_t* g;
|
||||||
#if ENABLED(SDSUPPORT)
|
#if ENABLED(SDSUPPORT)
|
||||||
extern void UpdateAssets();
|
void UpdateAssets();
|
||||||
#endif
|
#endif
|
||||||
uint16_t DeviceCode = 0x9488;
|
uint16_t DeviceCode = 0x9488;
|
||||||
extern uint8_t sel_id;
|
extern uint8_t sel_id;
|
||||||
@ -190,9 +190,7 @@ void tft_lvgl_init() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
tft_style_init();
|
tft_style_init();
|
||||||
|
|
||||||
filament_pin_setup();
|
filament_pin_setup();
|
||||||
|
|
||||||
lv_encoder_pin_init();
|
lv_encoder_pin_init();
|
||||||
|
|
||||||
TERN_(MKS_WIFI_MODULE, mks_wifi_firmware_update());
|
TERN_(MKS_WIFI_MODULE, mks_wifi_firmware_update());
|
||||||
@ -211,7 +209,7 @@ void tft_lvgl_init() {
|
|||||||
|
|
||||||
strncpy(public_buf_m, recovery.info.sd_filename, sizeof(public_buf_m));
|
strncpy(public_buf_m, recovery.info.sd_filename, sizeof(public_buf_m));
|
||||||
card.printLongPath(public_buf_m);
|
card.printLongPath(public_buf_m);
|
||||||
strncpy(list_file.long_name[sel_id], card.longFilename, sizeof(list_file.long_name[sel_id]));
|
strncpy(list_file.long_name[sel_id], card.longFilename, sizeof(list_file.long_name[0]));
|
||||||
lv_draw_printing();
|
lv_draw_printing();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -37,32 +37,32 @@
|
|||||||
extern uint8_t bmp_public_buf[14 * 1024];
|
extern uint8_t bmp_public_buf[14 * 1024];
|
||||||
extern uint8_t public_buf[513];
|
extern uint8_t public_buf[513];
|
||||||
|
|
||||||
extern void tft_lvgl_init();
|
void tft_lvgl_init();
|
||||||
extern void my_disp_flush(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p);
|
void my_disp_flush(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p);
|
||||||
extern bool my_touchpad_read(lv_indev_drv_t * indev_driver, lv_indev_data_t * data);
|
bool my_touchpad_read(lv_indev_drv_t * indev_driver, lv_indev_data_t * data);
|
||||||
extern bool my_mousewheel_read(lv_indev_drv_t * indev_drv, lv_indev_data_t * data);
|
bool my_mousewheel_read(lv_indev_drv_t * indev_drv, lv_indev_data_t * data);
|
||||||
|
|
||||||
extern void LCD_Clear(uint16_t Color);
|
void LCD_Clear(uint16_t Color);
|
||||||
extern void tft_set_point(uint16_t x, uint16_t y, uint16_t point);
|
void tft_set_point(uint16_t x, uint16_t y, uint16_t point);
|
||||||
extern void LCD_setWindowArea(uint16_t StartX, uint16_t StartY, uint16_t width, uint16_t heigh);
|
void LCD_setWindowArea(uint16_t StartX, uint16_t StartY, uint16_t width, uint16_t heigh);
|
||||||
extern void LCD_WriteRAM_Prepare();
|
void LCD_WriteRAM_Prepare();
|
||||||
extern void lcd_draw_logo();
|
void lcd_draw_logo();
|
||||||
extern void lv_encoder_pin_init();
|
void lv_encoder_pin_init();
|
||||||
extern void lv_update_encoder();
|
void lv_update_encoder();
|
||||||
|
|
||||||
extern lv_fs_res_t spi_flash_open_cb (lv_fs_drv_t * drv, void * file_p, const char * path, lv_fs_mode_t mode);
|
lv_fs_res_t spi_flash_open_cb(lv_fs_drv_t * drv, void * file_p, const char * path, lv_fs_mode_t mode);
|
||||||
extern lv_fs_res_t spi_flash_close_cb (lv_fs_drv_t * drv, void * file_p);
|
lv_fs_res_t spi_flash_close_cb(lv_fs_drv_t * drv, void * file_p);
|
||||||
extern lv_fs_res_t spi_flash_read_cb (lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * br);
|
lv_fs_res_t spi_flash_read_cb(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * br);
|
||||||
extern lv_fs_res_t spi_flash_seek_cb(lv_fs_drv_t * drv, void * file_p, uint32_t pos);
|
lv_fs_res_t spi_flash_seek_cb(lv_fs_drv_t * drv, void * file_p, uint32_t pos);
|
||||||
extern lv_fs_res_t spi_flash_tell_cb(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p);
|
lv_fs_res_t spi_flash_tell_cb(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p);
|
||||||
|
|
||||||
extern lv_fs_res_t sd_open_cb (lv_fs_drv_t * drv, void * file_p, const char * path, lv_fs_mode_t mode);
|
lv_fs_res_t sd_open_cb(lv_fs_drv_t * drv, void * file_p, const char * path, lv_fs_mode_t mode);
|
||||||
extern lv_fs_res_t sd_close_cb (lv_fs_drv_t * drv, void * file_p);
|
lv_fs_res_t sd_close_cb(lv_fs_drv_t * drv, void * file_p);
|
||||||
extern lv_fs_res_t sd_read_cb (lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * br);
|
lv_fs_res_t sd_read_cb(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * br);
|
||||||
extern lv_fs_res_t sd_seek_cb(lv_fs_drv_t * drv, void * file_p, uint32_t pos);
|
lv_fs_res_t sd_seek_cb(lv_fs_drv_t * drv, void * file_p, uint32_t pos);
|
||||||
extern lv_fs_res_t sd_tell_cb(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p);
|
lv_fs_res_t sd_tell_cb(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p);
|
||||||
|
|
||||||
extern void lv_fill_rect(lv_coord_t x1, lv_coord_t y1, lv_coord_t x2, lv_coord_t y2, lv_color_t bk_color);
|
void lv_fill_rect(lv_coord_t x1, lv_coord_t y1, lv_coord_t x2, lv_coord_t y2, lv_color_t bk_color);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#include "tft_Language_sp.h"
|
#include "tft_Language_sp.h"
|
||||||
#include "tft_Language_it.h"
|
#include "tft_Language_it.h"
|
||||||
|
|
||||||
extern void disp_language_init();
|
void disp_language_init();
|
||||||
|
|
||||||
#define LANG_SIMPLE_CHINESE 1
|
#define LANG_SIMPLE_CHINESE 1
|
||||||
#define LANG_COMPLEX_CHINESE 2
|
#define LANG_COMPLEX_CHINESE 2
|
||||||
|
@ -181,16 +181,16 @@ extern WIFI_GCODE_BUFFER espGcodeFifo;
|
|||||||
extern uint32_t getWifiTick();
|
extern uint32_t getWifiTick();
|
||||||
extern uint32_t getWifiTickDiff(int32_t lastTick, int32_t curTick);
|
extern uint32_t getWifiTickDiff(int32_t lastTick, int32_t curTick);
|
||||||
|
|
||||||
extern void mks_esp_wifi_init();
|
void mks_esp_wifi_init();
|
||||||
extern int cfg_cloud_flag;
|
extern int cfg_cloud_flag;
|
||||||
extern int send_to_wifi(uint8_t *buf, int len);
|
extern int send_to_wifi(uint8_t *buf, int len);
|
||||||
extern void wifi_looping();
|
void wifi_looping();
|
||||||
extern int raw_send_to_wifi(uint8_t *buf, int len);
|
extern int raw_send_to_wifi(uint8_t *buf, int len);
|
||||||
extern int package_to_wifi(WIFI_RET_TYPE type, uint8_t *buf, int len);
|
extern int package_to_wifi(WIFI_RET_TYPE type, uint8_t *buf, int len);
|
||||||
extern void get_wifi_list_command_send();
|
void get_wifi_list_command_send();
|
||||||
extern void get_wifi_commands();
|
void get_wifi_commands();
|
||||||
extern int readWifiBuf(int8_t *buf, int32_t len);
|
extern int readWifiBuf(int8_t *buf, int32_t len);
|
||||||
extern void mks_wifi_firmware_update();
|
void mks_wifi_firmware_update();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* C-declarations for C++ */
|
} /* C-declarations for C++ */
|
||||||
|
@ -39,9 +39,9 @@ extern SZ_USART_FIFO WifiRxFifo;
|
|||||||
|
|
||||||
extern int readUsartFifo(SZ_USART_FIFO *fifo, int8_t *buf, int32_t len);
|
extern int readUsartFifo(SZ_USART_FIFO *fifo, int8_t *buf, int32_t len);
|
||||||
extern int writeUsartFifo(SZ_USART_FIFO * fifo, int8_t * buf, int32_t len);
|
extern int writeUsartFifo(SZ_USART_FIFO * fifo, int8_t * buf, int32_t len);
|
||||||
extern void esp_port_begin(uint8_t interrupt);
|
void esp_port_begin(uint8_t interrupt);
|
||||||
extern int usartFifoAvailable(SZ_USART_FIFO *fifo);
|
extern int usartFifoAvailable(SZ_USART_FIFO *fifo);
|
||||||
extern void wifi_delay(int n);
|
void wifi_delay(int n);
|
||||||
|
|
||||||
#define ARRAY_SIZE(a) sizeof(a) / sizeof((a)[0])
|
#define ARRAY_SIZE(a) sizeof(a) / sizeof((a)[0])
|
||||||
|
|
||||||
|
@ -112,4 +112,4 @@
|
|||||||
#define MOVE_SERVO(I, P) servo[I].move(P)
|
#define MOVE_SERVO(I, P) servo[I].move(P)
|
||||||
|
|
||||||
extern HAL_SERVO_LIB servo[NUM_SERVOS];
|
extern HAL_SERVO_LIB servo[NUM_SERVOS];
|
||||||
extern void servo_init();
|
void servo_init();
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
extern toolchange_settings_t toolchange_settings;
|
extern toolchange_settings_t toolchange_settings;
|
||||||
|
|
||||||
#if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
|
#if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
|
||||||
extern void tool_change_prime();
|
void tool_change_prime();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(TOOLCHANGE_FS_PRIME_FIRST_USED)
|
#if ENABLED(TOOLCHANGE_FS_PRIME_FIRST_USED)
|
||||||
|
Loading…
Reference in New Issue
Block a user