Changeset 233 in xtideuniversalbios for trunk/Serial_Server/library/Serial.cpp
- Timestamp:
- Feb 4, 2012, 6:21:22 PM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Serial_Server/library/Serial.cpp
r215 r233 12 12 struct baudRate supportedBaudRates[] = 13 13 { 14 { 2400, 0x0, "2400" }, 15 { 4800, 0xff, "4800" }, 16 { 9600, 0x1, "9600" }, 17 { 19200, 0xff, "19.2K" }, 18 { 38400, 0x2, "38.4K" }, 19 { 76800, 0xff, "76.8K" }, 20 { 115200, 0x3, "115.2K" }, 21 { 153600, 0xff, "153.6K" }, 22 { 230400, 0xff, "230.4K" }, 23 { 460800, 0xff, "460.8K" }, 24 { 0, 0, NULL } 14 { 2400, 0x30, "2400" }, 15 { 4800, 0x18, "4800" }, 16 { 9600, 0xc, "9600" }, 17 { 19200, 0xff, "19.2K" }, 18 { 28800, 0x4, "28.8K" }, 19 { 38400, 0xff, "38.4K" }, 20 { 57600, 0x2, "57.6K" }, 21 { 76800, 0xff, "76.8K" }, 22 { 115200, 0x1, "115.2K" }, 23 { 153600, 0xff, "153.6K" }, 24 { 230400, 0xff, "230.4K" }, 25 { 460800, 0xff, "460.8K" }, 26 { 0, 0, "Unknown" }, 25 27 }; 26 28 … … 37 39 } 38 40 39 return( NULL);41 return( b ); 40 42 } 41 43 … … 47 49 ; 48 50 49 return( b ->rate ? b : NULL);51 return( b ); 50 52 } 51 53
Note:
See TracChangeset
for help on using the changeset viewer.