X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Flpc%2Fao_beep_lpc.c;h=ab06ef48776be45260add4fe20242114b1ba5f6c;hb=8a830c7f9ed41565c72edb85852e2df8bfa351f5;hp=eb9132b870c1cd4f9916d6fef409d6b8ce093e86;hpb=07d261c08214837b5d5cac4d2be43e51a0c47868;p=fw%2Faltos diff --git a/src/lpc/ao_beep_lpc.c b/src/lpc/ao_beep_lpc.c index eb9132b8..ab06ef48 100644 --- a/src/lpc/ao_beep_lpc.c +++ b/src/lpc/ao_beep_lpc.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 @@ -58,7 +59,7 @@ ao_beep(uint8_t beep) } void -ao_beep_for(uint8_t beep, uint16_t ticks) __reentrant +ao_beep_for(uint8_t beep, AO_TICK_TYPE ticks) { ao_beep(beep); ao_delay(ticks);