From 8004cfb3579ecd140175b309531ccb6bfd690fdf Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Wed, 30 Nov 2016 17:22:34 +0100 Subject: [PATCH] Fixed color of trigger level display at bottom of screen --- software/drsosc/DOScreen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/software/drsosc/DOScreen.cpp b/software/drsosc/DOScreen.cpp index d87387f..67d081f 100644 --- a/software/drsosc/DOScreen.cpp +++ b/software/drsosc/DOScreen.cpp @@ -278,8 +278,8 @@ void DOScreen::DrawScopeBottom(wxDC& dc, int board, int x1, int y1, int width, b // show trigger settings int x_start = width - w; - int tc = m_frame->GetTriggerConfig(); - if (tc > 0) { + if (m_frame->GetTriggerChannel(board) == 5) { + int tc = m_frame->GetTriggerConfig(); wxString wxst1, wxst2; wxst1.Append((char)wxT('(')); for (int i=0 ; i<5 ; i++)