From 20bf9c6d7a25b0d8f11a0914fd69da0d1a4361b3 Mon Sep 17 00:00:00 2001 From: Martin Budden Date: Tue, 6 Dec 2016 16:34:35 +0000 Subject: [PATCH] Removed commas from PID OSD display --- src/main/io/osd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/io/osd.c b/src/main/io/osd.c index 4dbd91cafe..ca21509f26 100755 --- a/src/main/io/osd.c +++ b/src/main/io/osd.c @@ -336,21 +336,21 @@ static void osdDrawSingleElement(uint8_t item) case OSD_ROLL_PIDS: { const pidProfile_t *pidProfile = ¤tProfile->pidProfile; - sprintf(buff, "ROL %3d,%3d,%3d", pidProfile->P8[PIDROLL], pidProfile->I8[PIDROLL], pidProfile->D8[PIDROLL]); + sprintf(buff, "ROL %3d %3d %3d", pidProfile->P8[PIDROLL], pidProfile->I8[PIDROLL], pidProfile->D8[PIDROLL]); break; } case OSD_PITCH_PIDS: { const pidProfile_t *pidProfile = ¤tProfile->pidProfile; - sprintf(buff, "PIT %3d,%3d,%3d", pidProfile->P8[PIDPITCH], pidProfile->I8[PIDPITCH], pidProfile->D8[PIDPITCH]); + sprintf(buff, "PIT %3d %3d %3d", pidProfile->P8[PIDPITCH], pidProfile->I8[PIDPITCH], pidProfile->D8[PIDPITCH]); break; } case OSD_YAW_PIDS: { const pidProfile_t *pidProfile = ¤tProfile->pidProfile; - sprintf(buff, "YAW %3d,%3d,%3d", pidProfile->P8[PIDYAW], pidProfile->I8[PIDYAW], pidProfile->D8[PIDYAW]); + sprintf(buff, "YAW %3d %3d %3d", pidProfile->P8[PIDYAW], pidProfile->I8[PIDYAW], pidProfile->D8[PIDYAW]); break; }