Skip to content
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.

Commit

Permalink
Simulator: fix variable name typo.
Browse files Browse the repository at this point in the history
show_pintous -> show_pinouts
  • Loading branch information
Traumflug committed Jan 7, 2018
1 parent 7441f6b commit b0a1d55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions simulator/simulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ enum {

int verbose = 1; ///< 0=quiet, 1=normal, 2=noisy, 3=debug, etc.
int use_color = 1; ///< 0=No ANSI colors, 1=Use ANSI colors
int show_pintous = 0; ///< Show pin activity on console
int show_pinouts = 0; ///< Show pin activity on console
int trace_gcode = 0; ///< show gcode on the console
int trace_pos = 0; ///< show print head position on the console

const char * shortopts = "qgpvt:o::T::";
struct option opts[] = {
{ "no-color", no_argument, &use_color , 0 },
{ "color", no_argument, &use_color , 1 },
{ "pinouts", no_argument, &show_pintous , 1 },
{ "pinouts", no_argument, &show_pinouts , 1 },
{ "quiet", no_argument, &verbose , 0 },
{ "verbose", no_argument, NULL, 'v' },
{ "gcode", no_argument, NULL, 'g' },
Expand Down Expand Up @@ -228,7 +228,7 @@ void sim_debug(const char fmt[], ...) {
}

void sim_tick(char ch) {
if (!show_pintous) return;
if (!show_pinouts) return;
fcyan();
fprintf(stdout, "%c", ch);
fbreset();
Expand Down

0 comments on commit b0a1d55

Please sign in to comment.