MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / GetBoardName

Method GetBoardName

src/Platform/Platform.cpp:3666–3671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3664}
3665
3666const char *_ecv_array Platform::GetBoardName() const noexcept
3667{
3668 return (board == BoardType::Duet2SBC_10 || board == BoardType::Duet2SBC_102)
3669 ? BOARD_NAME_SBC
3670 : (IsDuetWiFi()) ? BOARD_NAME_WIFI : BOARD_NAME_ETHERNET;
3671}
3672
3673const char *_ecv_array Platform::GetBoardShortName() const noexcept
3674{

Callers 1

Platform.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected