Fix compiler warning sketch/Marlin_main.cpp:1846:1: warning: control reaches end of non-void function [-Wreturn-type].
This commit is contained in:
parent
c7de8a91bb
commit
b357399c6b
|
|
@ -1778,7 +1778,7 @@ void trace();
|
||||||
char chunk[CHUNK_SIZE+SAFETY_MARGIN];
|
char chunk[CHUNK_SIZE+SAFETY_MARGIN];
|
||||||
int chunkHead = 0;
|
int chunkHead = 0;
|
||||||
|
|
||||||
int serial_read_stream() {
|
void serial_read_stream() {
|
||||||
|
|
||||||
setTargetHotend(0, 0);
|
setTargetHotend(0, 0);
|
||||||
setTargetBed(0);
|
setTargetBed(0);
|
||||||
|
|
@ -1839,9 +1839,7 @@ int serial_read_stream() {
|
||||||
card.closefile();
|
card.closefile();
|
||||||
prusa_sd_card_upload = false;
|
prusa_sd_card_upload = false;
|
||||||
SERIAL_PROTOCOLLNRPGM(MSG_FILE_SAVED);
|
SERIAL_PROTOCOLLNRPGM(MSG_FILE_SAVED);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue