Subversion Repositories Projects

Rev

Rev 494 | Rev 499 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 494 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_ncmode_default.h"
-
 
25
 
-
 
26
#if !(ALLCHARSDEBUG|(WRITECHARS != -1))
-
 
27
 
-
 
28
int osd_ncmode_minimal() {
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(4, top_line, 0xCB); // km/h
32
                        write_char_xy(4, top_line, 0xCB); // km/h
24
                write_char_xy(15, top_line, 0xCC); // small meters m height
33
                        write_char_xy(15, top_line, 0xCC); // small meters m height
Line 153... Line 162...
153
// remember last values
162
        // remember last values
154
last_RC_Quality = naviData.RC_Quality;
163
        last_RC_Quality = naviData.RC_Quality;
155
last_UBat = naviData.UBat;
164
        last_UBat = naviData.UBat;
156
old_MKFlags = naviData.MKFlags;
165
        old_MKFlags = naviData.MKFlags;
157
seconds_since_last_data = 0;
166
        seconds_since_last_data = 0;
-
 
167
 
-
 
168
        return 0;
-
 
169
}
-
 
170
 
-
 
171
#endif