summaryrefslogtreecommitdiff
path: root/avr/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'avr/env.c')
-rw-r--r--avr/env.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/avr/env.c b/avr/env.c
index 900f689..f167859 100644
--- a/avr/env.c
+++ b/avr/env.c
@@ -563,7 +563,7 @@ command_ret_t _do_env_set(uint_fast8_t flag UNUSED, int argc, char * const argv[
* @param varvalue Value to set it to
* @return 0 if ok, 1 on error
*/
-static
+
int setenv(const MEMX char *varname, const char *varvalue)
{
int rc;
@@ -719,7 +719,6 @@ command_ret_t do_env_print(cmd_tbl_t *cmdtp UNUSED, uint_fast8_t flag UNUSED,
while (optind < argc) {
int len = env_print(argv[optind], mode);
if (len < 0) {
- printf_P(PSTR("## Error: \"%s\" not defined\n"), argv[optind]);
rc = CMD_RET_FAILURE;
}
optind++;