Fix compiler warning:
In file included from sketch/BlinkM.cpp:5:0: sketch/Marlin.h:422:13: warning: 'void print_time_remaining_init()' declared 'static' but never defined [-Wunused-function] static void print_time_remaining_init(); Make local functions static. Saves 6B of flash.
This commit is contained in:
parent
bc99db8233
commit
c251777590
2 changed files with 3 additions and 3 deletions
|
@ -419,7 +419,6 @@ extern void fsensor_init();
|
||||||
//estimated time to end of the print
|
//estimated time to end of the print
|
||||||
extern uint16_t print_time_remaining();
|
extern uint16_t print_time_remaining();
|
||||||
extern uint8_t print_percent_done();
|
extern uint8_t print_percent_done();
|
||||||
static void print_time_remaining_init();
|
|
||||||
|
|
||||||
#ifdef HOST_KEEPALIVE_FEATURE
|
#ifdef HOST_KEEPALIVE_FEATURE
|
||||||
|
|
||||||
|
|
|
@ -535,8 +535,9 @@ static bool saved_extruder_relative_mode = false;
|
||||||
//=============================Routines======================================
|
//=============================Routines======================================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
void get_arc_coordinates();
|
static void get_arc_coordinates();
|
||||||
bool setTargetedHotend(int code);
|
static bool setTargetedHotend(int code);
|
||||||
|
static void print_time_remaining_init();
|
||||||
|
|
||||||
void serial_echopair_P(const char *s_P, float v)
|
void serial_echopair_P(const char *s_P, float v)
|
||||||
{ serialprintPGM(s_P); SERIAL_ECHO(v); }
|
{ serialprintPGM(s_P); SERIAL_ECHO(v); }
|
||||||
|
|
Loading…
Add table
Reference in a new issue