You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
633 B

  1. From 9540f9b93704e8e80ab2048954ca88d8e6eddf86 Mon Sep 17 00:00:00 2001
  2. From: John Crispin <blogic@openwrt.org>
  3. Date: Thu, 23 Jul 2015 16:43:42 +0200
  4. Subject: [PATCH 3/4] uart
  5. ---
  6. src/uart/uart.c | 3 +++
  7. 1 file changed, 3 insertions(+)
  8. diff --git a/src/uart/uart.c b/src/uart/uart.c
  9. index 3ef55a4..5102f81 100644
  10. --- a/src/uart/uart.c
  11. +++ b/src/uart/uart.c
  12. @@ -34,6 +34,9 @@
  13. #include "uart.h"
  14. #include "mraa_internal.h"
  15. +#ifndef CMSPAR
  16. +#define CMSPAR 010000000000
  17. +#endif
  18. // This function takes an unsigned int and converts it to a B* speed_t
  19. // that can be used with linux/posix termios
  20. static speed_t
  21. --
  22. 1.7.10.4