1
0
mirror of https://github.com/mist-devel/mist-firmware.git synced 2026-04-17 00:15:25 +00:00

neocd: increase the polling rate a bit

This commit is contained in:
Gyorgy Szombathelyi
2023-07-05 22:37:20 +02:00
parent 689126afbe
commit 52f9085fde

View File

@@ -179,7 +179,7 @@ static void neocd_run() {
if (neocdd.latency > 0) {
if(!CheckTimer(neocd_read_timer)) return;
neocd_read_timer = GetTimer(13);
neocd_read_timer = GetTimer(10);
neocdd.latency--;
return;
}
@@ -672,7 +672,7 @@ void neocd_poll() {
neocd_run();
if(CheckTimer(neocd_timer)) {
neocd_timer = GetTimer(13);
neocd_timer = GetTimer(10);
if (neocdd.has_command) {
neocdd.has_command = 0;
neocd_sendstatus();