Removed deinit

This commit is contained in:
BlackMark 2020-02-21 17:26:30 +01:00
parent 3fae89285f
commit c73d83dff4

10
spi.hpp
View File

@ -15,16 +15,6 @@ class Spi {
Driver::init();
}
static void deinit()
{
SPCR = 0;
sm_cSCK.dir(io::Dir::IN);
sm_cMISO.dir(io::Dir::IN);
sm_cMOSI.dir(io::Dir::IN);
sm_cSS.dir(io::Dir::IN);
}
static uint8_t transfer(uint8_t ui8Data)
{
SPDR = ui8Data;