ultimatepp/bazaar/Serial/Serial.cpp
micio 15d6eafab9 Bazaar/Serial : Package to handle serial port connections
git-svn-id: svn://ultimatepp.org/upp/trunk@8589 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-06-24 07:59:55 +00:00

17 lines
No EOL
287 B
C++

#include "Serial.h"
NAMESPACE_UPP
// get a list of standard baud rates
Index<dword> const &Serial::GetStandardBaudRates(void)
{
static Index<dword> v;
if(v.IsEmpty())
{
for(int i = 0; i < stdBaudsCount; i++)
v << stdBauds[i];
}
return v;
}
END_UPP_NAMESPACE;