Define <u8,u8,u8>::softSPI (#19419)

This commit is contained in:
Victor Oliveira 2020-09-22 17:44:17 -03:00 committed by GitHub
parent 225487f9db
commit 79dc8a2297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1567,6 +1567,7 @@ void Temperature::updateTemperaturesFromRawValues() {
} }
#if MAX6675_SEPARATE_SPI #if MAX6675_SEPARATE_SPI
template<uint8_t MisoPin, uint8_t MosiPin, uint8_t SckPin> SoftSPI<MisoPin, MosiPin, SckPin> SPIclass<MisoPin, MosiPin, SckPin>::softSPI;
SPIclass<MAX6675_DO_PIN, MOSI_PIN, MAX6675_SCK_PIN> max6675_spi; SPIclass<MAX6675_DO_PIN, MOSI_PIN, MAX6675_SCK_PIN> max6675_spi;
#endif #endif