Skip to content

Support for GPIO TX inhibit line #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 11 commits into from
Prev Previous commit
Next Next commit
Revert "Disable obnoxious white background on arm targets"
This reverts commit 42a2398.
ab0tj committed Nov 16, 2015
commit c7c591a7ef50ce979ecd3e12ecebb5e24d1a4d19
2 changes: 1 addition & 1 deletion hdlc_rec.c
Original file line number Diff line number Diff line change
@@ -666,7 +666,7 @@ int hdlc_rec_data_detect_any (int chan)
text_color_set(DW_COLOR_ERROR);
dw_printf ("Error opening %s to check TXINH.\n", stemp);
dw_printf ("%s\n", strerror(e));
return (busy != 1);
return busy;
}

char vtemp[2];
18 changes: 9 additions & 9 deletions textcolor.c
Original file line number Diff line number Diff line change
@@ -111,19 +111,19 @@ static const char clear_eos[] = "\e[0J";
/* expected bright/bold (1) to get bright white background. */
/* Makes no sense but I stumbled across that somewhere. */

static const char background_white[] = "\e[49m";
static const char background_white[] = "\e[5;47m";

/* Whenever a dark color is used, the */
/* background is reset and needs to be set again. */

static const char black[] = "\e[0;39m" "\e[49m";
static const char red[] = "\e[1;31m" "\e[49m";
static const char green[] = "\e[1;32m" "\e[49m";
static const char yellow[] = "\e[1;33m" "\e[49m";
static const char blue[] = "\e[1;34m" "\e[49m";
static const char magenta[] = "\e[1;35m" "\e[49m";
static const char cyan[] = "\e[1;36m" "\e[49m";
static const char dark_green[] = "\e[0;32m" "\e[49m";
static const char black[] = "\e[0;30m" "\e[5;47m";
static const char red[] = "\e[1;31m" "\e[5;47m";
static const char green[] = "\e[1;32m" "\e[5;47m";
static const char yellow[] = "\e[1;33m" "\e[5;47m";
static const char blue[] = "\e[1;34m" "\e[5;47m";
static const char magenta[] = "\e[1;35m" "\e[5;47m";
static const char cyan[] = "\e[1;36m" "\e[5;47m";
static const char dark_green[] = "\e[0;32m" "\e[5;47m";

/* Clear from cursor to end of screen. */