X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftelegps-v1.0%2Fao_pins.h;h=99293da8f099923770a569af54380b654559398d;hb=d2cb18542f4f6071232bd046fd1b257228c17a25;hp=eb1033da7dbc34361fb6603ae27fc920a41dfeef;hpb=55c8e5aff2cc7b941503a04970f7d368261af52a;p=fw%2Faltos diff --git a/src/telegps-v1.0/ao_pins.h b/src/telegps-v1.0/ao_pins.h index eb1033da..99293da8 100644 --- a/src/telegps-v1.0/ao_pins.h +++ b/src/telegps-v1.0/ao_pins.h @@ -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 @@ -76,6 +77,7 @@ #define AO_CONFIG_DEFAULT_APRS_INTERVAL 0 #define AO_CONFIG_DEFAULT_RADIO_POWER 0xc0 +#define AO_LOG_FORMAT AO_LOG_FORMAT_TELEGPS /* * GPS @@ -141,7 +143,7 @@ struct ao_adc { }; #define AO_ADC_DUMP(p) \ - printf("tick: %5u batt: %5d\n", \ + printf("tick: %5lu batt: %5d\n", \ (p)->tick, \ (p)->adc.v_batt)