Created release with sedu device

Former-commit-id: c541a2d8f04572c7cf493a112ebb283e561afd99
This commit is contained in:
johan 2013-11-05 21:32:21 +01:00
parent 58b8bbe8cc
commit 212ce35861
3 changed files with 360 additions and 353 deletions

View File

@ -218,6 +218,9 @@ Serial::SerialImpl::reconfigurePort ()
#ifdef B460800
case 460800: baud = B460800; break;
#endif
#ifdef B500000
case 500000: baud = B500000; break;
#endif
#ifdef B921600
case 921600: baud = B921600; break;
#endif

View File

@ -1 +1 @@
632c368d0a5ce42aff067c6ba5f63dbe108dddc9
477dd3a5e1eae900ac9e02c6bdcfef3e2c3b6ca9

View File

@ -48,6 +48,10 @@ int LedRs232Device::writeBytes(const unsigned size, const uint8_t * data)
return -1;
}
//for (int i = 0; i < 20; ++i)
// std::cout << std::hex << (int)data[i] << " ";
//std::cout << std::endl;
try
{
_rs232Port.write(data, size);