aboutsummaryrefslogtreecommitdiffstats
path: root/source/usbserial.hpp
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2022-04-30 08:41:56 -0400
committerClyne Sullivan <clyne@bitgloo.com>2022-04-30 08:42:45 -0400
commite164629b3839eee0fda0be0e0a9842e78cf02f2b (patch)
treeb72b58665b85a104e5b953af45f00579341b2802 /source/usbserial.hpp
parent162dd6de8a0d883962b0b1475f47cbb08e0958d4 (diff)
parent3dd57491b1e81a9d93054eff19ca0e6c65c85b9b (diff)
merge in branch devel
Diffstat (limited to 'source/usbserial.hpp')
-rw-r--r--source/usbserial.hpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/source/usbserial.hpp b/source/usbserial.hpp
deleted file mode 100644
index 828fc56..0000000
--- a/source/usbserial.hpp
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * @file usbserial.hpp
- * @brief Wrapper for ChibiOS's SerialUSBDriver.
- *
- * Copyright (C) 2020 Clyne Sullivan
- *
- * Distributed under the GNU GPL v3 or later. You should have received a copy of
- * the GNU General Public License along with this program.
- * If not, see <https://www.gnu.org/licenses/>.
- */
-
-#ifndef STMDSP_USBSERIAL_HPP_
-#define STMDSP_USBSERIAL_HPP_
-
-#include "usbcfg.h"
-
-class USBSerial
-{
-public:
- static void begin();
-
- static bool isActive();
-
- static size_t read(unsigned char *buffer, size_t count);
- static size_t write(const unsigned char *buffer, size_t count);
-
-private:
- static SerialUSBDriver *m_driver;
-};
-
-#endif // STMDSP_USBSERIAL_HPP_
-