Skip to content

Commit

Permalink
Added decimal value to M111 output.
Browse files Browse the repository at this point in the history
  • Loading branch information
modmaker committed Jun 25, 2013
1 parent c66b61f commit b591da6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gcode_process.c
Original file line number Diff line number Diff line change
Expand Up @@ -852,9 +852,9 @@ static void process_non_move_command( GCODE_COMMAND* target)

if (target->seen_S) {
debug_flags = target->S;
printf( "New debug_flags setting: 0x%04x\n", debug_flags);
printf( "New debug_flags setting: 0x%04x (%u)\n", debug_flags, debug_flags);
} else {
printf( "Active debug_flags setting: 0x%04x\n", debug_flags);
printf( "Active debug_flags setting: 0x%04x (%u)\n", debug_flags, debug_flags);
}
break;
#endif
Expand Down

0 comments on commit b591da6

Please sign in to comment.