X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fkernel%2Fao_rssi.c;h=66fb8b57c9f3a036049bf1b565e80240b610915c;hb=1085ec5d57e0ed5d132f2bbdac1a0b6a32c0ab4a;hp=f8eeb2176349a5382730cddf93535295744faeb9;hpb=500353ec83af0da7fce3d67f2707f4725b1f50ba;p=fw%2Faltos diff --git a/src/kernel/ao_rssi.c b/src/kernel/ao_rssi.c index f8eeb217..66fb8b57 100644 --- a/src/kernel/ao_rssi.c +++ b/src/kernel/ao_rssi.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 @@ -33,7 +34,7 @@ ao_rssi(void) } void -ao_rssi_set(int rssi_value) +ao_rssi_set(int16_t rssi_value) { if (rssi_value > 0) rssi_value = 0;