*
* 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
#define HAS_GPS 1
#define HAS_FLIGHT 0
#define HAS_LOG 1
+#define FLIGHT_LOG_APPEND 1
#define HAS_TRACKER 1
#define AO_CONFIG_DEFAULT_APRS_INTERVAL 0
#define AO_CONFIG_DEFAULT_RADIO_POWER 0xc0
-#define AO_CONFIG_DEFAULT_FLIGHT_LOG_MAX 1024 * 1024
+#define AO_LOG_FORMAT AO_LOG_FORMAT_TELEGPS
/*
* GPS
#define AO_CC115L_DONE_INT_PORT 0
#define AO_CC115L_DONE_INT_PIN 2
+/* SN 1959, owned by J. Patrick Bowers, had a hard landing and appears to have broken the
+ * internal connection between pin 8 and the chip. This board
+ * has been fixed by jumpering pin 8 to pin 10, which means that
+ * the DONE_INT_PIN is now 4 instead of 2. When building custom firmware for
+ * this board, just adjust the ao_pins.h value before compiling
+
+ #define AO_CC115L_DONE_INT_PIN_SN_1959 4
+
+ */
+
/*
* Flash (M25)
*/
};
#define AO_ADC_DUMP(p) \
- printf("tick: %5u batt: %5d\n", \
+ printf("tick: %5lu batt: %5d\n", \
(p)->tick, \
(p)->adc.v_batt)