16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 03:09:18 +02:00

build 210509. configurable max draw range factor, moon visualization enhancement, night lighting tweak, minor bug fixes

This commit is contained in:
tmj-fstate
2021-05-10 00:50:54 +02:00
parent 51415ef71f
commit 05d8af139a
13 changed files with 95 additions and 52 deletions

View File

@@ -199,7 +199,7 @@ void uart_input::poll()
if (!sync) {
int sync_cnt = 0;
int sync_fail = 0;
char sc = 0;
unsigned char sc = 0;
while ((ret = sp_blocking_read(port, &sc, 1, 10)) >= 0) {
if (conf.debug)
WriteLog("uart: read byte: " + std::to_string((int)sc));