Skip to content

Commit

Permalink
Uprev
Browse files Browse the repository at this point in the history
Additional GPS audio vario precompiled options
  • Loading branch information
ShikOfTheRa committed Nov 24, 2017
1 parent 7d91684 commit 309751f
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
4 changes: 4 additions & 0 deletions MW_OSD/Def.h
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,10 @@ enum {
#define DEBUG 4 // Display debug secreen at boot
#endif

#ifdef PIOAUDIOVARIO // This is for travis build only
#define AUDIOVARIO A3 // Enable AUDIOVARIO on RSSI
#endif

#ifdef PWM_THROTTLE
#define ALWAYSARMED // starts OSD in armed mode
#endif
Expand Down
2 changes: 1 addition & 1 deletion MW_OSD/GPS.ino
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ void GPS_NewData() {

if (GPS_armedangleset == 1) {
if ((GPS_distanceToHome < GPSOSDHOMEDISTANCE) && (GPS_speed < 75)) {
if ((GPS_home_timer + (GPSOSDLANDED*1000) > millis()) {
if ((GPS_home_timer + (GPSOSDLANDED*1000)) > millis()) {
}
else if ((GPS_home_timer + (GPSOSDSUMMARY*1000)) > millis()) {
configPage = 0;
Expand Down
4 changes: 2 additions & 2 deletions MW_OSD/MW_OSD.ino
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ uint16_t UntouchedStack(void)
#define PGMSTR(p) (char *)pgm_read_word(p)

//------------------------------------------------------------------------
#define MWVERS "MW-OSD - R1.7.2.2"
#define MWOSDVERSION 1722 // 1660=1.6.6.0 for GUI
#define MWVERS "MW-OSD - R1.7.3.0"
#define MWOSDVERSION 1730 // 1660=1.6.6.0 for GUI
#define EEPROMVER 13 // for eeprom layout verification
#include <avr/pgmspace.h>
#undef PROGMEM
Expand Down
12 changes: 12 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,12 @@ framework = arduino
board = pro16MHzatmega328
src_build_flags = -DMINIMOSD -DGPSOSD_MTK

[env:minim.gpsosdvario.ublox]
platform = atmelavr
framework = arduino
board = pro16MHzatmega328
src_build_flags = -DMINIMOSD -DGPSOSD_UBLOX -DPIOAUDIOVARIO

# MINIM BOARDS SPECIALS ########################################################
[env:minim.standalone]
platform = atmelavr
Expand Down Expand Up @@ -278,6 +284,12 @@ framework = arduino
board = pro16MHzatmega328
src_build_flags = -DAEROMAX -DGPSOSD_MTK

[env:aeromax.gpsosdvario.ublox]
platform = atmelavr
framework = arduino
board = pro16MHzatmega328
src_build_flags = -DAEROMAX -DGPSOSD_UBLOX -DPIOAUDIOVARIO

# AEROMAX BOARDS SPECIALS ######################################################
[env:aeromax.standalone]
platform = atmelavr
Expand Down

0 comments on commit 309751f

Please sign in to comment.