]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/cmd_gpio.c
phys. address 0x00040 points to fifo_list
[z180-stamp.git] / avr / cmd_gpio.c
index 84723d2372453f2d14e9f0913284cc4b03bf6f58..e0d9b06e9f3fb36f6266c8e6558f21b739d63afc 100644 (file)
@@ -1,3 +1,9 @@
+/*
+ * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de>
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
+
 #include "common.h"
 #include <stdlib.h>
 #include <string.h>
@@ -29,6 +35,8 @@ static void pinnames_get(void)
        memset(pin_names, 0, sizeof(pin_names));
        pin_names_width = 0;
 
+/* TODO: enters endless loop on wron parameters */
+
        if ((lp = getenv(PSTR(ENV_PINALIAS))) != NULL) {
                pin_names[namestr] = strdup(lp);
                ptr = strtok_P(pin_names[namestr], delim1);