Switch from GPLv2 to GPLv2+
[fw/altos] / src / telegps-v1.0 / ao_pins.h
index 5c58b34d75010b30a8bba75705fa548a40e8662e..19774f63cc703e514902e38934b890864e1811c7 100644 (file)
@@ -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
  *
  * 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
  *
  * 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 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 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
 
 /*
  * GPS
 
 /*
  * GPS
 #define AO_CC115L_DONE_INT_PORT                0
 #define AO_CC115L_DONE_INT_PIN         2
 
 #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)
  */
 /*
  * Flash (M25)
  */