Skip to content

Firmware, Testing with Out DFPlayer GPAD_API should not hang. #336

@ForrestErickson

Description

@ForrestErickson

Describe the bug
A clear and concise description of what the bug is.
Short Summary of the expected behavior:
When testing the GPAD_API on incomplete hardware such as an ESP32 Dev Kit I expect the code to run as best it can and report missing hardware.

Short Summary of the buggy behavior:
On an ESP32 Dev Kit the firmware appars to hang somewhere after the Serial.println("DFPlayer Mini detected!")
and the call to displayDFPlayerStats();

Image

Additionally the DUT should never have printed "DFPlayer Mini detected!"
This test is returning false result.

To Reproduce
Steps to reproduce the behavior:

  1. Test with an ESP32 Dev Kit1
  2. Load code from older than 0.45.
  3. Observe the serial monitor

Expected behavior
A clear and concise description of what you expected to happen.
We want the code never to hang even if hardware is missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions