Fix numerous typos in configuration variable names. Tracked down by Alan Carvalho de Assis
This commit is contained in:
parent
1c82d1d4a6
commit
862d452d9b
@ -50,7 +50,7 @@ config INTERPRETER_BAS_STACKSIZE
|
|||||||
---help---
|
---help---
|
||||||
Size of the stack allocated for the Basic interpreter main task
|
Size of the stack allocated for the Basic interpreter main task
|
||||||
|
|
||||||
config INTERPREPTER_BAS_VT100
|
config INTERPRETER_BAS_VT100
|
||||||
bool "VT100 terminal support"
|
bool "VT100 terminal support"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ ASRCS =
|
|||||||
CSRCS = bas.c bas_auto.c bas_fs.c bas_global.c bas_main.c bas_program.c
|
CSRCS = bas.c bas_auto.c bas_fs.c bas_global.c bas_main.c bas_program.c
|
||||||
CSRCS += bas_str.c bas_token.c bas_value.c bas_var.c
|
CSRCS += bas_str.c bas_token.c bas_value.c bas_var.c
|
||||||
|
|
||||||
ifeq ($(CONFIG_INTERPREPTER_BAS_VT100),y)
|
ifeq ($(CONFIG_INTERPRETER_BAS_VT100),y)
|
||||||
CSRCS += bas_vt100.c
|
CSRCS += bas_vt100.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ static int g_used;
|
|||||||
static const int g_open_mode[4] = { 0, O_RDONLY, O_WRONLY, O_RDWR };
|
static const int g_open_mode[4] = { 0, O_RDONLY, O_WRONLY, O_RDWR };
|
||||||
static char g_errmsgbuf[80];
|
static char g_errmsgbuf[80];
|
||||||
|
|
||||||
#ifdef CONFIG_INTERPREPTER_BAS_VT100
|
#ifdef CONFIG_INTERPRETER_BAS_VT100
|
||||||
static const uint8_t g_vt100_colormap[8] =
|
static const uint8_t g_vt100_colormap[8] =
|
||||||
{
|
{
|
||||||
VT100_BLACK, VT100_BLUE, VT100_GREEN, VT100_CYAN,
|
VT100_BLACK, VT100_BLUE, VT100_GREEN, VT100_CYAN,
|
||||||
@ -306,7 +306,7 @@ static int edit(int chn, int onl)
|
|||||||
{
|
{
|
||||||
if (f->inCapacity)
|
if (f->inCapacity)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_INTERPREPTER_BAS_VT100
|
#ifdef CONFIG_INTERPRETER_BAS_VT100
|
||||||
/* Could use vt100_clrtoeol */
|
/* Could use vt100_clrtoeol */
|
||||||
#endif
|
#endif
|
||||||
/* Is the previous character in the buffer 2 character escape sequence? */
|
/* Is the previous character in the buffer 2 character escape sequence? */
|
||||||
@ -397,7 +397,7 @@ static int edit(int chn, int onl)
|
|||||||
|
|
||||||
static int cls(int chn)
|
static int cls(int chn)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_INTERPREPTER_BAS_VT100
|
#ifdef CONFIG_INTERPRETER_BAS_VT100
|
||||||
vt100_clrscreen(chn);
|
vt100_clrscreen(chn);
|
||||||
vt100_cursorhome(chn);
|
vt100_cursorhome(chn);
|
||||||
return 0;
|
return 0;
|
||||||
@ -409,7 +409,7 @@ static int cls(int chn)
|
|||||||
|
|
||||||
static int locate(int chn, int line, int column)
|
static int locate(int chn, int line, int column)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_INTERPREPTER_BAS_VT100
|
#ifdef CONFIG_INTERPRETER_BAS_VT100
|
||||||
vt100_setcursor(chn, line, column);
|
vt100_setcursor(chn, line, column);
|
||||||
return 0;
|
return 0;
|
||||||
#else
|
#else
|
||||||
@ -420,7 +420,7 @@ static int locate(int chn, int line, int column)
|
|||||||
|
|
||||||
static int colour(int chn, int foreground, int background)
|
static int colour(int chn, int foreground, int background)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_INTERPREPTER_BAS_VT100
|
#ifdef CONFIG_INTERPRETER_BAS_VT100
|
||||||
if (foreground >= 0)
|
if (foreground >= 0)
|
||||||
{
|
{
|
||||||
vt100_foreground_color(chn, foreground);
|
vt100_foreground_color(chn, foreground);
|
||||||
@ -440,7 +440,7 @@ static int colour(int chn, int foreground, int background)
|
|||||||
|
|
||||||
static int resetcolour(int chn)
|
static int resetcolour(int chn)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_INTERPREPTER_BAS_VT100
|
#ifdef CONFIG_INTERPRETER_BAS_VT100
|
||||||
vt100_foreground_color(chn, VT100_DEFAULT);
|
vt100_foreground_color(chn, VT100_DEFAULT);
|
||||||
vt100_background_color(chn, VT100_DEFAULT);
|
vt100_background_color(chn, VT100_DEFAULT);
|
||||||
#endif
|
#endif
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
|
|
||||||
#undef CONFIG_THTTPD
|
#undef CONFIG_THTTPD
|
||||||
#if defined(CONFIG_NET) && defined(CONFIG_NET_TCP) && \
|
#if defined(CONFIG_NET) && defined(CONFIG_NET_TCP) && \
|
||||||
defined(CONFIG_NET_TCPBACKLOG) && !defined(CONFIG_DISABLE_ENVIRONMENT) && \
|
defined(CONFIG_NET_TCPBACKLOG) && !defined(CONFIG_DISABLE_ENVIRON) && \
|
||||||
!defined(CONFIG_SDCLONE_DISABLE) && defined(CONFIG_NET_TCP_READAHEAD)
|
!defined(CONFIG_SDCLONE_DISABLE) && defined(CONFIG_NET_TCP_READAHEAD)
|
||||||
|
|
||||||
# define CONFIG_THTTPD 1
|
# define CONFIG_THTTPD 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user