mirror of
https://github.com/brmlab/ledbar.git
synced 2025-06-09 05:14:03 +02:00
Communication speed is 115200
This commit is contained in:
parent
08c58e3716
commit
b4d1199282
2 changed files with 2 additions and 2 deletions
|
@ -341,7 +341,7 @@ int main(int argc, char* argv[])
|
|||
if (fp) {
|
||||
struct termios t;
|
||||
tcgetattr(fileno(fp), &t);
|
||||
cfsetspeed(&t, B38400);
|
||||
cfsetspeed(&t, B115200);
|
||||
tcsetattr(fileno(fp), TCSADRAIN, &t);
|
||||
sleep(2);
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ def main():
|
|||
except getopt.GetOptError:
|
||||
print_usage()
|
||||
return 1
|
||||
speed = 38400
|
||||
speed = 115200
|
||||
number = 10
|
||||
show_help = False
|
||||
for k, v in opts:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue