diff --git a/src/modules/CC1101/CC1101.cpp b/src/modules/CC1101/CC1101.cpp index 4b1d7c30..ffad818a 100644 --- a/src/modules/CC1101/CC1101.cpp +++ b/src/modules/CC1101/CC1101.cpp @@ -1095,13 +1095,13 @@ void CC1101::SPIsendCommand(uint8_t cmd) { _mod->digitalWrite(_mod->getCs(), LOW); // start transfer - _mod->SPIbeginTransaction(); + _mod->beginTransaction(); // send the command byte - _mod->SPItransfer(cmd); + _mod->transfer(cmd); // stop transfer - _mod->SPIendTransaction(); + _mod->endTransaction(); _mod->digitalWrite(_mod->getCs(), HIGH); }