Initial commit
This commit is contained in:
Executable
+26
@@ -0,0 +1,26 @@
|
||||
From 7e181d361f54473c5a9f914f456933feb1e64126 Mon Sep 17 00:00:00 2001
|
||||
From: roly <Rolyli.Li@luxshare-ict.com>
|
||||
Date: Mon, 2 Dec 2024 15:02:51 +0800
|
||||
Subject: [PATCH] Sol support 921600 bitrate
|
||||
|
||||
---
|
||||
console-dbus.c | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/console-dbus.c b/console-dbus.c
|
||||
index e0c0011..f409a16 100644
|
||||
--- a/console-dbus.c
|
||||
+++ b/console-dbus.c
|
||||
@@ -104,6 +104,9 @@ static int set_non_volatile_baud_handler(sd_bus *bus, const char *path,
|
||||
case 115200:
|
||||
encodedBitRate = 0xa;
|
||||
break;
|
||||
+ case 921600:
|
||||
+ encodedBitRate = 0xb;
|
||||
+ break;
|
||||
default:
|
||||
encodedBitRate = 0xa;
|
||||
break;
|
||||
--
|
||||
2.25.1
|
||||
|
||||
Reference in New Issue
Block a user