Skip to content

Remove the empty _check_boardtype() - #398

Merged
lovyan03 merged 1 commit into
m5stack:developfrom
ainyan03:drop_check_boardtype
Oct 9, 2026
Merged

lovyan03 merged 1 commit into
m5stack:developfrom
ainyan03:drop_check_boardtype

Conversation

@ainyan03

@ainyan03 ainyan03 commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #397. Remove the private _check_boardtype(): its last board checks (ESP32-P4) moved into the M5GFX board detector, leaving a function that returned its argument on every target.

Changes

  • Remove _check_boardtype() and its call in begin(). The board is now chosen in this order: the detector's result, cfg.fallback_board, BOARD_ID (P4), the detector's candidate, then the package default.
  • No change in behavior.

Tested

  • Tab5 (chip v1.0): detected as Tab5, as before.
  • Builds for the versions in the upstream CI.

The last board checks it held (ESP32-P4) moved into the M5GFX board
detector, leaving a private function that returned its argument on every
target.
@lovyan03
lovyan03 merged commit 092555e into m5stack:develop Oct 9, 2026
30 checks passed
@ainyan03
ainyan03 deleted the drop_check_boardtype branch October 9, 2026 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants