-
-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: remove bufferAlgorithm
param from the open
command
#1002
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1002 +/- ##
==========================================
+ Coverage 20.14% 20.84% +0.69%
==========================================
Files 42 40 -2
Lines 3222 3114 -108
==========================================
Hits 649 649
+ Misses 2488 2380 -108
Partials 85 85
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
bufferAlgorithm
params in the open commandbufferAlgorithm
params in the open
command
d3ec8c8
to
679a319
Compare
786ac2b
to
98b6376
Compare
TODO
|
bufferAlgorithm
params in the open
commandbufferAlgorithm
params
bufferAlgorithm
params bufferAlgorithm
param
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Just added a comment for future reference.
Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
Tested on Windows with an Arduino UNO r4. Everything works as expected 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on linux and mac and found this regression 😱
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Retested on Linux, and now seems working OK! ✅
9d2b0ab
to
43bd6ea
Compare
bufferAlgorithm
parambufferAlgorithm
param from the open
command
bufferAlgorithm
param from the open
commandbufferAlgorithm
param from the open
command
Please check if the PR fulfills these requirements
before creating one)
Remove the
bufferAlgorithm
argument from theopen
command.Reasons: the Arduino projects use only the
timed
algorithm. No need for the other two options.timed
option.timed
option.The open command accepts 3 different
bufferAlgorithm
.open <portName> <baud> [bufferAlgorithm: ({default}, timed, timedraw)]
The
bufferAlgorithm
argument is removed and it not possible to set the algorithm (the timed is always used)open <portName> <baud>
.If the argument is specified, the following warn log is printed: