Skip to content

Commit

Permalink
Fixed implicit function declaration request_M0() in Printing.c bigtre…
Browse files Browse the repository at this point in the history
…etech#1584

This PR fixes a bug introduced in PR bigtreetech#1533
@Thro42

request_M0() is not exported in gcode.h so the compiler can't find the function in Printing.c
which results in a function call of an empty function.
  • Loading branch information
Uz45 committed Feb 2, 2021
1 parent 9b4bb17 commit 60bc81e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TFT/src/User/API/Gcode/gcode.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ bool request_M27(int seconds);
bool request_M524(void);
bool request_M24(int pos);
long request_M23_M36(char *filename);
bool request_M0(void);
#endif

0 comments on commit 60bc81e

Please sign in to comment.