Minor cleanup
This commit is contained in:
+5
-1
@@ -3,8 +3,11 @@
|
||||
#include <stdexcept>
|
||||
#include <cstdint>
|
||||
#include <wchar.h>
|
||||
#include "hidapi.h"
|
||||
// For sleep
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
|
||||
#include "hidapi.h"
|
||||
#include "config.h"
|
||||
#include "commands.h"
|
||||
|
||||
@@ -35,6 +38,7 @@ class Ergodox {
|
||||
bool try_connect();
|
||||
void disconnect();
|
||||
void test_connection();
|
||||
void connect_loop();
|
||||
|
||||
bool read();
|
||||
bool write(uint8_t cmd, const uint8_t* data, uint8_t data_len);
|
||||
|
||||
Reference in New Issue
Block a user