Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
digant73 committed Jan 10, 2024
1 parent e979e57 commit ae40899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TFT/src/User/API/Printing.c
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,6 @@ void loopPrintFromTFT(void)

CMD gcode;
uint8_t gcode_count = 0;
uint8_t comment_count = 0;
char read_char = '\0';
UINT br = 0;
FIL * ip_file = &infoPrinting.file;
Expand Down Expand Up @@ -860,6 +859,7 @@ void loopPrintFromTFT(void)
// if file comment parsing is enabled and a comment tag was previously intercepted parsing the gcode, enable comment parsing
bool comment_parsing = (GET_BIT(infoSettings.general_settings, INDEX_FILE_COMMENT_PARSING) == 1 &&
read_char == ';') ? true : false;
uint8_t comment_count = 0;

for ( ; ip_cur < ip_size; ip_cur++) // continue to parse the line (e.g. comment) until command end flag
{
Expand Down

0 comments on commit ae40899

Please sign in to comment.