Skip to content

fix(esp-box): Add missing check for empty parameters in spi transmit#395

Merged
finger563 merged 1 commit intomainfrom
fix/esp-box-spi-transmit
Mar 6, 2025
Merged

fix(esp-box): Add missing check for empty parameters in spi transmit#395
finger563 merged 1 commit intomainfrom
fix/esp-box-spi-transmit

Conversation

@finger563
Copy link
Contributor

Description

  • Add missing if (!parameters.empty()) check when sending second spi transaction to EspBox

Motivation and Context

Ensures the spi transactions do not fail.

How has this been tested?

Build and run example and other code on esp-box.

Screenshots (if appropriate, e.g. schematic, board, console logs, lab pictures):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update
  • Hardware (schematic, board, system design) change
  • Software change

Checklist:

  • My change requires a change to the documentation.
  • I have added / updated the documentation related to this change via either README or WIKI

Software

  • I have added tests to cover my changes.
  • I have updated the .github/workflows/build.yml file to add my new test to the automated cloud build github action.
  • All new and existing tests passed.
  • My code follows the code style of this project.

* Add missing `if (!parameters.empty())` check when sending second spi transaction to `EspBox`

Ensures the spi transactions do not fail.

Build and run example and other code on esp-box.
@finger563 finger563 self-assigned this Mar 6, 2025
@finger563 finger563 added bug Something isn't working esp-box labels Mar 6, 2025
@github-actions
Copy link

github-actions bot commented Mar 6, 2025

✅Static analysis result - no issues found! ✅

@finger563 finger563 merged commit d776695 into main Mar 6, 2025
74 checks passed
@finger563 finger563 deleted the fix/esp-box-spi-transmit branch March 6, 2025 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working esp-box

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant