From 5a0354dfeee315c5ed0faedb2c168c505c37c2b7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 5 Jul 2018 07:42:15 +1000 Subject: [PATCH] AP_OSD: make packed decimal the default and fix SITL char spacing --- libraries/AP_OSD/AP_OSD.cpp | 2 +- libraries/AP_OSD/AP_OSD_SITL.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_OSD/AP_OSD.cpp b/libraries/AP_OSD/AP_OSD.cpp index 7575649c85..72896c7474 100644 --- a/libraries/AP_OSD/AP_OSD.cpp +++ b/libraries/AP_OSD/AP_OSD.cpp @@ -75,7 +75,7 @@ const AP_Param::GroupInfo AP_OSD::var_info[] = { // @Description: This sets options that change the display // @Bitmask: 0:UseDecimalPack // @User: Standard - AP_GROUPINFO("_OPTIONS", 8, AP_OSD, options, 0), + AP_GROUPINFO("_OPTIONS", 8, AP_OSD, options, OPTION_DECIMAL_PACK), AP_GROUPEND }; diff --git a/libraries/AP_OSD/AP_OSD_SITL.h b/libraries/AP_OSD/AP_OSD_SITL.h index 9f07a388ff..2117bf4db5 100644 --- a/libraries/AP_OSD/AP_OSD_SITL.h +++ b/libraries/AP_OSD/AP_OSD_SITL.h @@ -55,7 +55,7 @@ private: static const uint8_t char_height = 18; static const uint8_t video_lines = 16; // PAL static const uint8_t video_cols = 30; - static const uint8_t char_spacing = 1; + static const uint8_t char_spacing = 0; // scaling factor to make it easier to read static const uint8_t char_scale = 2;