Skip to content

Commit

Permalink
add back spi destructor definition
Browse files Browse the repository at this point in the history
  • Loading branch information
rzblue committed Oct 16, 2024
1 parent 601d285 commit c5ad65e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wpilibc/src/main/native/cpp/SPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ SPI::SPI(Port port) : m_port(static_cast<HAL_SPIPort>(port)) {
static_cast<uint8_t>(port) + 1);
}

SPI::~SPI() = default;

SPI::Port SPI::GetPort() const {
return static_cast<Port>(static_cast<int>(m_port));
}
Expand Down

0 comments on commit c5ad65e

Please sign in to comment.