[CC1101] Fixed version register check (#208)

This commit is contained in:
jgromes 2020-12-08 17:31:54 +01:00
parent 2096a811d4
commit 81135e0ae5

View file

@ -753,7 +753,7 @@ uint8_t CC1101::random() {
int16_t CC1101::getChipVersion() { int16_t CC1101::getChipVersion() {
return(_mod->SPIgetRegValue(CC1101_REG_VERSION)); return(SPIgetRegValue(CC1101_REG_VERSION));
} }
int16_t CC1101::config() { int16_t CC1101::config() {