X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm%2Fao_led.c;h=0f39befb9426843f1f63d260ff9c77509b187351;hb=a487d2fcba57141f6b083d5612c76bac5ad1ac7c;hp=0acab1065b82cb9440c25e7e553e457fdf4db519;hpb=86f8b92149d1027b1d6d6b1cae097cfe47b02090;p=fw%2Faltos diff --git a/src/stm/ao_led.c b/src/stm/ao_led.c index 0acab106..0f39befb 100644 --- a/src/stm/ao_led.c +++ b/src/stm/ao_led.c @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -86,7 +87,7 @@ ao_led_for(uint16_t colors, uint16_t ticks) __reentrant stm_moder_set(port, bit, STM_MODER_OUTPUT); \ stm_otyper_set(port, bit, STM_OTYPER_PUSH_PULL); \ } while (0) - + void ao_led_init(uint16_t enable) {