mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
17 lines
No EOL
293 B
C++
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
|