6fc685bc2a
Split the board specific code into a HAL API. Added a POSIX HAL and hacked everything over to it.
20 lines
219 B
C++
20 lines
219 B
C++
#include <cstdint>
|
|
#include <algorithm>
|
|
#include <cstring>
|
|
|
|
#include "usblink.h"
|
|
|
|
USBLink::USBLink()
|
|
: tx_()
|
|
{
|
|
}
|
|
|
|
void USBLink::write(const uint8_t* data, int length)
|
|
{
|
|
}
|
|
|
|
bool USBLink::flush()
|
|
{
|
|
return true;
|
|
}
|