mirror of
https://github.com/espressif/openthread.git
synced 2026-08-17 16:09:51 +00:00
[posix] fix uart-baudrate argument of radio url (#5045)
This commit is contained in:
@@ -471,7 +471,7 @@ int HdlcInterface::OpenFile(const char *aFile, Arguments &aArguments)
|
||||
|
||||
if (aArguments.GetValue("uart-baudrate"))
|
||||
{
|
||||
baudrate = static_cast<uint32_t>(atoi(aArguments.GetValue("baudrate")));
|
||||
baudrate = static_cast<uint32_t>(atoi(aArguments.GetValue("uart-baudrate")));
|
||||
}
|
||||
switch (baudrate)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user