lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

0003-uart.patch (633B)


      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 ---
      7  src/uart/uart.c |    3 +++
      8  1 file changed, 3 insertions(+)
      9 
     10 diff --git a/src/uart/uart.c b/src/uart/uart.c
     11 index 3ef55a4..5102f81 100644
     12 --- a/src/uart/uart.c
     13 +++ b/src/uart/uart.c
     14 @@ -34,6 +34,9 @@
     15  #include "uart.h"
     16  #include "mraa_internal.h"
     17  
     18 +#ifndef CMSPAR
     19 +#define CMSPAR	  010000000000
     20 +#endif
     21  // This function takes an unsigned int and converts it to a B* speed_t
     22  // that can be used with linux/posix termios
     23  static speed_t
     24 -- 
     25 1.7.10.4
     26