1
0

2 Commits

Author SHA1 Message Date
Gergely Nagy
7f977da45e
model01: Use a modified CDC.cpp
At least for OSX, we need to slow down Serial writes. The easiest way to do that
is to add a delay after each write, and to accomplish that, the easiest is to
modify `CDC.cpp`. Without this, on OSX, we end up writing  too fast (and
changing the baud rate does not help, no matter in which direction I change),
and end up losing data.

This is not a great solution. It's not even a solution, but a workaround. But it
works for now.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
2018-10-26 18:44:47 +02:00
Gergely Nagy
7afb15c641
Add CDC.cpp from Arduino
We're going to change this file, so add the original (from arduino-1.8.7,
hardware/arduino/avr/cores/arduino/CDC.cpp) before applying our changes.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
2018-10-26 18:43:15 +02:00