Better Incorporate coaa.h
This commit is contained in:
parent
f8216130de
commit
f50744b11b
BIN
coaa1090.obj
BIN
coaa1090.obj
Binary file not shown.
|
@ -27,7 +27,7 @@
|
|||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
//
|
||||
|
||||
#include "coaa.h"
|
||||
#include "dump1090.h"
|
||||
//
|
||||
// ============================= Utility functions ==========================
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
// MinorVer changes when additional features are added, but not for bug fixes (range 00-99)
|
||||
// DayDate & Year changes for all changes, including for bug fixes. It represent the release date of the update
|
||||
//
|
||||
#define MODES_DUMP1090_VERSION "1.07.2709.13"
|
||||
#define MODES_DUMP1090_VERSION "1.07.2909.13"
|
||||
|
||||
// ============================= Include files ==========================
|
||||
|
||||
|
@ -64,7 +64,10 @@
|
|||
#endif
|
||||
|
||||
// ============================= #defines ===============================
|
||||
|
||||
//
|
||||
// If you have a valid coaa.h, these values will come from it. If not,
|
||||
// then you can enter your own values in the #else section here
|
||||
//
|
||||
#ifdef USER_LATITUDE
|
||||
#define MODES_USER_LATITUDE_DFLT (USER_LATITUDE)
|
||||
#define MODES_USER_LONGITUDE_DFLT (USER_LONGITUDE)
|
||||
|
|
|
@ -104,8 +104,8 @@ void ppup1090Init(void) {
|
|||
modesInitErrorInfo();
|
||||
|
||||
// Setup the uploader - read the user paramaters from the coaa.h header file
|
||||
coaa1090.fUserLat = USER_LATITUDE;
|
||||
coaa1090.fUserLon = USER_LONGITUDE;
|
||||
coaa1090.fUserLat = MODES_USER_LATITUDE_DFLT;
|
||||
coaa1090.fUserLon = MODES_USER_LONGITUDE_DFLT;
|
||||
strcpy(coaa1090.strAuthCode,STR(USER_AUTHCODE));
|
||||
strcpy(coaa1090.strRegNo, STR(USER_REGNO));
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
//
|
||||
#include "coaa.h"
|
||||
#include "view1090.h"
|
||||
//
|
||||
// ============================= Utility functions ==========================
|
||||
|
|
Loading…
Reference in a new issue