From cdbb82709103f361705737393ec6d5cd3db22354 Mon Sep 17 00:00:00 2001 From: jgromes Date: Mon, 10 Apr 2023 09:06:08 +0200 Subject: [PATCH] [CC1101] Removed references to Arduino SPI callbacks (#725) --- src/modules/CC1101/CC1101.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }