diff options
author | Leo C | 2016-03-21 23:33:05 +0100 |
---|---|---|
committer | Leo C | 2016-03-21 23:33:05 +0100 |
commit | 1b77fa4e36e50258936a4b61fdb11a988d473b1a (patch) | |
tree | c9437a732dfcb31cc9272c079769d713fe946516 /avr/main.c | |
parent | f3e47f679c5154908d3f869c1e9a4b5fcc29d4a5 (diff) | |
download | z180-stamp-1b77fa4e36e50258936a4b61fdb11a988d473b1a.zip |
Rename getenv() to getenv_char()
getenv() is declared in some avr-libc versions.
Diffstat (limited to 'avr/main.c')
-rw-r--r-- | avr/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -224,7 +224,7 @@ const char *bootdelay_process(void) debug("### main_loop entered: bootdelay=%d\n\n", bootdelay); _delay_ms(20); - s = getenv(PSTR(ENV_BOOTCMD)); + s = getenv_char(PSTR(ENV_BOOTCMD)); stored_bootdelay = bootdelay; return s; } |