diff --git a/src/modules/CC1101/CC1101.cpp b/src/modules/CC1101/CC1101.cpp index 3892f0d56..37d773984 100644 --- a/src/modules/CC1101/CC1101.cpp +++ b/src/modules/CC1101/CC1101.cpp @@ -753,7 +753,7 @@ uint8_t CC1101::random() { int16_t CC1101::getChipVersion() { - return(_mod->SPIgetRegValue(CC1101_REG_VERSION)); + return(SPIgetRegValue(CC1101_REG_VERSION)); } int16_t CC1101::config() {