ultimatepp/bazaar/Serial/Serial.cpp
micio 2d9f0a59d0 Bazaar/Serial : fix for windows
git-svn-id: svn://ultimatepp.org/upp/trunk@10766 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-26 10:02:45 +00:00

17 lines
No EOL
293 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