Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/M5Unified.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,6 @@ namespace m5
#endif
#endif
if (board == board_t::board_unknown) { board = Display.getBoardCandidate(); }
if (board == board_t::board_unknown) { board = _check_boardtype(board); }
if (board == board_t::board_unknown) { board = _default_fallback_board(); }
}
_board = board;
Expand Down Expand Up @@ -784,7 +783,6 @@ namespace m5
void _begin_audio(config_t& cfg);
bool _begin_rtc_imu(const config_t& cfg);

board_t _check_boardtype(board_t);
static board_t _default_fallback_board(void);
void _setup_i2c(board_t);
void _setup_led(board_t);
Expand Down
5 changes: 0 additions & 5 deletions src/M5Unified.inl
Original file line number Diff line number Diff line change
Expand Up @@ -1621,11 +1621,6 @@ static constexpr const uint8_t _pin_table_mbus[][31] = {
#endif
}

board_t M5Unified::_check_boardtype(board_t board)
{
return board;
}

board_t M5Unified::_default_fallback_board(void)
{
// Build selection follows explicit fallback and detector candidates.
Expand Down
Loading