patch-tools_bccmd_c 715 B

123456789101112131415161718
  1. --- bluez-4.92.orig/tools/bccmd.c 2010-11-30 15:50:48.000000000 +0100
  2. +++ bluez-4.92/tools/bccmd.c 2011-05-17 18:19:30.856601139 +0200
  3. @@ -1183,6 +1183,7 @@ int main(int argc, char *argv[])
  4. case 115200: bcsp_rate = B115200; break;
  5. case 230400: bcsp_rate = B230400; break;
  6. case 460800: bcsp_rate = B460800; break;
  7. +#if 0
  8. case 500000: bcsp_rate = B500000; break;
  9. case 576000: bcsp_rate = B576000; break;
  10. case 921600: bcsp_rate = B921600; break;
  11. @@ -1202,6 +1203,7 @@ int main(int argc, char *argv[])
  12. #ifdef B4000000
  13. case 4000000: bcsp_rate = B4000000; break;
  14. #endif
  15. +#endif
  16. default:
  17. printf("Unknown BCSP baud rate specified, defaulting to 38400bps\n");
  18. bcsp_rate = B38400;