mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
style fix
This commit is contained in:
parent
967361f775
commit
d11c926761
@ -42,8 +42,7 @@ namespace DRIVERS {
|
||||
void periodic() override {
|
||||
iwdg_feed();
|
||||
if (is_micros_timed_out(_prev_ts, 100000)) {
|
||||
switch(_state)
|
||||
{
|
||||
switch(_state) {
|
||||
case 0:
|
||||
digitalWrite(LED_BUILTIN, LOW);
|
||||
break;
|
||||
@ -81,8 +80,7 @@ namespace DRIVERS {
|
||||
}
|
||||
|
||||
void updateStatus(status status) override {
|
||||
switch (status)
|
||||
{
|
||||
switch (status) {
|
||||
case RX_DATA:
|
||||
_rx_data = true;
|
||||
break;
|
||||
@ -94,6 +92,7 @@ namespace DRIVERS {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private:
|
||||
unsigned long _prev_ts = 0;
|
||||
uint8_t _state = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user