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

Marian Buschsieweke notifications at github.com
Thu Jan 21 12:25:09 CET 2021


# Backport of #15825

### 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/15827

-- 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/15827.patch
https://github.com/RIOT-OS/RIOT/pull/15827.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/15827
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210121/6f32d909/attachment.htm>


More information about the notifications mailing list