mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
refactoring
This commit is contained in:
parent
615863a848
commit
e6b34c9cb1
@ -79,5 +79,4 @@ namespace DRIVERS {
|
|||||||
return new Board(DRIVERS::DUMMY);
|
return new Board(DRIVERS::DUMMY);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -82,5 +82,4 @@ namespace DRIVERS {
|
|||||||
return new Board(DRIVERS::DUMMY);
|
return new Board(DRIVERS::DUMMY);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
#include "driver.h"
|
#include "driver.h"
|
||||||
|
|
||||||
|
|
||||||
namespace DRIVERS {
|
namespace DRIVERS {
|
||||||
struct Board : public Driver {
|
struct Board : public Driver {
|
||||||
using Driver::Driver;
|
using Driver::Driver;
|
||||||
|
|||||||
@ -49,7 +49,7 @@ static Outputs _out;
|
|||||||
#ifdef HID_DYNAMIC
|
#ifdef HID_DYNAMIC
|
||||||
static bool _reset_required = false;
|
static bool _reset_required = false;
|
||||||
static unsigned long _reset_timestamp;
|
static unsigned long _reset_timestamp;
|
||||||
#define RESET_TIMEOUT (500000)
|
# define RESET_TIMEOUT 500000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user