aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/nuevo_diskloader/src/CDC.cpp
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2011-10-24 22:12:45 -0400
committerZach Eveland <zeveland@blacklabel-development.com>2011-10-24 22:12:45 -0400
commit9a5c50d5864e9a18c856edb446ed2565037260e2 (patch)
tree863fff8ff2d3089f924ecee416f2e5fb20b7969b /bootloaders/nuevo_diskloader/src/CDC.cpp
parentb6f5fae14f4eb9c0cc21f45b9e8f6211cb1dc1f4 (diff)
fixed logic bug in waiting for synch. stripped out all Serial stuff
Diffstat (limited to 'bootloaders/nuevo_diskloader/src/CDC.cpp')
-rw-r--r--bootloaders/nuevo_diskloader/src/CDC.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/bootloaders/nuevo_diskloader/src/CDC.cpp b/bootloaders/nuevo_diskloader/src/CDC.cpp
index 8bc4b51..cc798b4 100644
--- a/bootloaders/nuevo_diskloader/src/CDC.cpp
+++ b/bootloaders/nuevo_diskloader/src/CDC.cpp
@@ -101,7 +101,7 @@ bool WEAK CDC_Setup(Setup& setup)
return false;
}
-
+/*
int _serialPeek = -1;
void Serial_::begin(uint16_t baud_count)
{
@@ -149,11 +149,6 @@ void Serial_::flush(void)
size_t Serial_::write(uint8_t c)
{
- /* only try to send bytes if the high-level CDC connection itself
- is open (not just the pipe) - the OS should set lineState when the port
- is opened and clear lineState when the port is closed.
- bytes sent before the user opens the connection or after
- the connection is closed are lost - just like with a UART. */
// TODO - ZE - check behavior on different OSes and test what happens if an
// open connection isn't broken cleanly (cable is yanked out, host dies
@@ -172,6 +167,7 @@ size_t Serial_::write(uint8_t c)
}
Serial_ Serial;
+*/
#endif
#endif /* if defined(USBCON) */ \ No newline at end of file