X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fkernel%2Fao_forward.c;h=b1ab3f5431b779305637585fc7692157e8e84c9b;hp=2a937183f309466cd975341bc59a625969d5d498;hb=6023ff81f1bbd240169b9548209133d3b02d475f;hpb=44e389c31e5958c1a050fbe0dce5d7971a9d6a86 diff --git a/src/kernel/ao_forward.c b/src/kernel/ao_forward.c index 2a937183..b1ab3f54 100644 --- a/src/kernel/ao_forward.c +++ b/src/kernel/ao_forward.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 @@ -26,7 +27,7 @@ ao_monitor_forward(void) for (;;) { while (ao_monitoring) - ao_sleep(DATA_TO_XDATA(&ao_monitoring)); + ao_sleep(&ao_monitoring); if (!ao_radio_recv(&packet, sizeof(packet), 0)) continue;