From: Steinar H. Gunderson Date: Sat, 20 Oct 2018 11:50:48 +0000 (+0200) Subject: Correct BT6000 clock status bit. X-Git-Url: https://git.sesse.net/?p=ultimatescore;a=commitdiff_plain;h=5757ede88dc52df71f2d573c2a44dea0ef705b09 Correct BT6000 clock status bit. --- diff --git a/client/mainwindow.cpp b/client/mainwindow.cpp index b186e6a..7de922c 100644 --- a/client/mainwindow.cpp +++ b/client/mainwindow.cpp @@ -436,7 +436,7 @@ void MainWindow::bt6000_message_received(const string &msg) if (msg.size() >= 9 && msg[0] == 'G' && msg[1] == '0' && msg[2] == '1') { // G01: Game clock, period number, and number of time-outs. - bool clock_running = (msg[4] & 0x02); + bool clock_running = !(msg[4] & 0x02); // bool klaxon = (msg[4] & 0x04); int minutes = parse_clock(msg[5], msg[6]); int seconds = parse_clock(msg[7], msg[8]);