Rev 474 | Rev 507 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 474 | Rev 497 | ||
---|---|---|---|
Line 15... | Line 15... | ||
15 | * You should have received a copy of the GNU General Public License * |
15 | * You should have received a copy of the GNU General Public License * |
16 | * along with this program; if not, write to the * |
16 | * along with this program; if not, write to the * |
17 | * Free Software Foundation, Inc., * |
17 | * Free Software Foundation, Inc., * |
18 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
18 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
19 | ****************************************************************************/ |
19 | ****************************************************************************/ |
- | 20 | ||
- | 21 | #include "main.h" |
|
- | 22 | #include "max7456_software_spi.h" |
|
- | 23 | #include "osd_helpers.h" |
|
- | 24 | #include "osd_fcmode_default.h" |
|
- | 25 | ||
- | 26 | #if !(ALLCHARSDEBUG|(WRITECHARS != -1)) |
|
- | 27 | ||
- | 28 | int osd_fcmode_default() { |
|
20 | if (COSD_FLAGS & COSD_FLAG_HUD) { |
29 | if (COSD_FLAGS & COSD_FLAG_HUD) { |
21 | // write icons at init or after menu/mode-switch |
30 | // write icons at init or after menu/mode-switch |
22 | if (!(COSD_FLAGS2 & COSD_ICONS_WRITTEN)) { |
31 | if (!(COSD_FLAGS2 & COSD_ICONS_WRITTEN)) { |
23 | write_char_xy(10, top_line, 0xCA); // RC-transmitter |
32 | write_char_xy(10, top_line, 0xCA); // RC-transmitter |
24 | write_char_xy(27, top_line, 0xCC); // small meters m height |
33 | write_char_xy(27, top_line, 0xCC); // small meters m height |
Line 80... | Line 89... | ||
80 | debugData.Analog[9]); // Voltage |
89 | debugData.Analog[9]); // Voltage |
81 | debugData.Analog[10]);// RC Signal |
90 | debugData.Analog[10]);// RC Signal |
82 | debugData.Analog[11]);// Gyro compass |
91 | debugData.Analog[11]);// Gyro compass |
83 | */ |
92 | */ |
84 | seconds_since_last_data = 0; |
93 | seconds_since_last_data = 0; |
- | 94 | ||
- | 95 | return 0; |
|
- | 96 | } |
|
- | 97 | ||
- | 98 | #endif |