17,6 → 17,15 |
* Free Software Foundation, Inc., * |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
****************************************************************************/ |
|
#include "main.h" |
#include "max7456_software_spi.h" |
#include "osd_helpers.h" |
#include "osd_ncmode_default.h" |
|
#if !(ALLCHARSDEBUG|(WRITECHARS != -1)) |
|
int osd_ncmode_default() { |
if (COSD_FLAGS & COSD_FLAG_HUD) { |
// write icons at init or after menu/mode-switch |
if (!(COSD_FLAGS2 & COSD_ICONS_WRITTEN)) { |
199,3 → 208,8 |
last_UBat = naviData.UBat; |
old_MKFlags = naviData.MKFlags; |
seconds_since_last_data = 0; |
|
return 0; |
} |
|
#endif |