Skip to content

Incorrect return type in SoftwareSerial.listen() reference page #6507

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

Closed
per1234 opened this issue Jul 16, 2017 · 1 comment
Closed

Incorrect return type in SoftwareSerial.listen() reference page #6507

per1234 opened this issue Jul 16, 2017 · 1 comment
Labels
Component: Documentation Related to Arduino's documentation content

Comments

@per1234
Copy link
Collaborator

per1234 commented Jul 16, 2017

https://www.arduino.cc/en/Reference/SoftwareSerialListen says:

Returns
None

but actually it returns a bool:
https://github.com/arduino/Arduino/blob/1.8.3/hardware/arduino/avr/libraries/SoftwareSerial/src/SoftwareSerial.h#L95

bool listen();
@per1234 per1234 added the Component: Documentation Related to Arduino's documentation content label Jul 16, 2017
@SimonePDA
Copy link

Updated and pushed the Reference page with
"Returns
boolean: Returns true if it replaces another"
s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Documentation Related to Arduino's documentation content
Projects
None yet
Development

No branches or pull requests

2 participants