diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-02-13 11:12:51 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-02-13 11:12:51 +0000 |
commit | 042cbdb0ffbd503738c294ce43c3f1691980633e (patch) | |
tree | ad6fc7032bf279525def649391c3955e33e011a1 /tools/hciattach.c | |
parent | 465696fda58ed0902157cb537c067a5d1c82ff27 (diff) |
Add ifdefs around some baud rate definitions
Diffstat (limited to 'tools/hciattach.c')
-rw-r--r-- | tools/hciattach.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/hciattach.c b/tools/hciattach.c index 00f5cc14..36f3c72b 100644 --- a/tools/hciattach.c +++ b/tools/hciattach.c @@ -122,14 +122,22 @@ static int uart_speed(int s) return B1500000; case 2000000: return B2000000; +#ifdef B2500000 case 2500000: return B2500000; +#endif +#ifdef B3000000 case 3000000: return B3000000; +#endif +#ifdef B3500000 case 3500000: return B3500000; +#endif +#ifdef B4000000 case 4000000: return B4000000; +#endif default: return B57600; } |