mirror of
https://github.com/rene-dev/stmbl.git
synced 2026-02-06 02:02:34 +08:00
term con pin fix
This commit is contained in:
@@ -293,12 +293,15 @@ NRT(
|
||||
buf[8 + 1] = 0;
|
||||
|
||||
if (cdc_is_connected() && PIN(send_step) > 0) {
|
||||
PIN(con) = 1.0;
|
||||
cdc_tx(buf,9);
|
||||
}else{
|
||||
PIN(con) = 0.0;
|
||||
}
|
||||
}
|
||||
|
||||
if (cdc_is_connected()) {
|
||||
PIN(con) = 1.0;
|
||||
}else{
|
||||
PIN(con) = 0.0;
|
||||
}
|
||||
|
||||
PIN(buf_use) = bc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user