[riot-notifications] [RIOT-OS/RIOT] drivers/dfplayer: fix error handling (#15825)

Marian Buschsieweke notifications at github.com
Thu Jan 21 10:40:43 CET 2021


### Contribution description

The error code was previously overwritten :-/ this clearly is not how it is
intended to work.

### Testing procedure

The code change is trivial enough to be only code-reviewed. This info from the datasheet should be helpful:

| No | Pin | Description    | Note                             |
| --:|:--- |:-------------- | :------------------------------- |
| ...| ... | ...            | ...                              |
| 16 |BUSY | Playing Status | Low means playing \High means no |

### Issues/PRs references

None

You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/15825

-- Commit Summary --

  * drivers/dfplayer: fix error handling

-- File Changes --

    M drivers/dfplayer/dfplayer_internal.c (3)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/15825.patch
https://github.com/RIOT-OS/RIOT/pull/15825.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15825
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210121/001ac196/attachment.htm>


More information about the notifications mailing list