From bb7d07230118e9845370aa0a4865e46e6e6b8ec1 Mon Sep 17 00:00:00 2001
From: sujinwen <sujinwen@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期一, 24 七月 2017 19:52:20 +0800
Subject: [PATCH] 

---
 VisitFace/RtspNativeCodec/app/src/main/cpp/serial.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/VisitFace/RtspNativeCodec/app/src/main/cpp/serial.c b/VisitFace/RtspNativeCodec/app/src/main/cpp/serial.c
index d8d3c25..caaed83 100644
--- a/VisitFace/RtspNativeCodec/app/src/main/cpp/serial.c
+++ b/VisitFace/RtspNativeCodec/app/src/main/cpp/serial.c
@@ -44,6 +44,10 @@
 
     // Set Baudrate
     switch (baud) {
+        case 2400:
+            cfsetispeed(&options, B2400);
+            cfsetospeed(&options, B2400);
+            break;
         case 9600:
             cfsetispeed(&options, B9600);
             cfsetospeed(&options, B9600);

--
Gitblit v1.8.0