| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 Christopher Anderson | 2 * Copyright (c) 2015 Christopher Anderson |
| 3 * | 3 * |
| 4 * Permission is hereby granted, free of charge, to any person obtaining | 4 * Permission is hereby granted, free of charge, to any person obtaining |
| 5 * a copy of this software and associated documentation files | 5 * a copy of this software and associated documentation files |
| 6 * (the "Software"), to deal in the Software without restriction, | 6 * (the "Software"), to deal in the Software without restriction, |
| 7 * including without limitation the rights to use, copy, modify, merge, | 7 * including without limitation the rights to use, copy, modify, merge, |
| 8 * publish, distribute, sublicense, and/or sell copies of the Software, | 8 * publish, distribute, sublicense, and/or sell copies of the Software, |
| 9 * and to permit persons to whom the Software is furnished to do so, | 9 * and to permit persons to whom the Software is furnished to do so, |
| 10 * subject to the following conditions: | 10 * subject to the following conditions: |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 for (unsigned int i = 0; i < countof(gpio_flag_labels); i++) { | 87 for (unsigned int i = 0; i < countof(gpio_flag_labels); i++) { |
| 88 printf("%s ", gpio_flag_labels[i].label); | 88 printf("%s ", gpio_flag_labels[i].label); |
| 89 } | 89 } |
| 90 putchar(']'); | 90 putchar(']'); |
| 91 putchar('\n'); | 91 putchar('\n'); |
| 92 } | 92 } |
| 93 | 93 |
| 94 return 0; | 94 return 0; |
| 95 } | 95 } |
| 96 STATIC_COMMAND_START | 96 STATIC_COMMAND_START |
| 97 { "gpio", "commands for manipulating system gpios", &cmd_gpio }, | 97 STATIC_COMMAND("gpio", "commands for manipulating system gpios", &cmd_gpio) |
| 98 STATIC_COMMAND_END(gpio); | 98 STATIC_COMMAND_END(gpio); |
| 99 | 99 |
| 100 #endif | 100 #endif |
| OLD | NEW |