Skip to content

Commit

Permalink
remove namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
seanavery committed Jul 16, 2023
1 parent a7c1115 commit 050c6f0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions ch340g.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#include <stdio.h>
#include <iostream>

namespace driver {
int CH340G::init() {
int err;

Expand Down Expand Up @@ -173,4 +172,3 @@ int CH340G::bulk_read(unsigned char endpoint, unsigned char* data, int length, u

return transferred;
}
}
2 changes: 0 additions & 2 deletions ch340g.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ uint8_t rts = 0;

// 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
// VENDOR: 6790; PRODUCT: 29987
namespace driver {
class CH340G {
private:
libusb_context *ctx = NULL;
Expand All @@ -32,4 +31,3 @@ class CH340G {
int bulk_read(unsigned char endpoint, unsigned char* data, int length, unsigned int timeout);

};
}

0 comments on commit 050c6f0

Please sign in to comment.