Skip to content

Commit

Permalink
Merge pull request #175 from MalteSchm:huawei_spi_interface_fix
Browse files Browse the repository at this point in the history
Changing Huawei SPI interface
  • Loading branch information
helgeerbe committed Apr 23, 2023
2 parents 38b990f + 3504924 commit 75a59f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Huawei_can.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void HuaweiCanClass::init(uint8_t huawei_miso, uint8_t huawei_mosi, uint8_t huaw
return;
}

spi = new SPIClass(VSPI);
spi = new SPIClass(HSPI);
spi->begin(huawei_clk, huawei_miso, huawei_mosi, huawei_cs);
pinMode(huawei_cs, OUTPUT);
digitalWrite(huawei_cs, HIGH);
Expand Down

0 comments on commit 75a59f5

Please sign in to comment.