[CC1101] Removed references to Arduino SPI callbacks (#725)
This commit is contained in:
parent
9d36ae4bee
commit
cdbb827091
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue