Skip to content

Commit

Permalink
fix: Add missing break; statements
Browse files Browse the repository at this point in the history
  • Loading branch information
VisualEhrmanntraut committed Nov 11, 2024
1 parent ff08956 commit a549881
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SMCRadeonSensors/SMCRSCard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,14 @@ UInt32 SMCRSCard::readIndirectSMC(UInt32 reg) {
case SMCRSChipFamily::SouthernIslands:
this->writeReg32(mmSMC_IND_INDEX_0, reg);
ret = this->readReg32(mmSMC_IND_DATA_0);
break;
case SMCRSChipFamily::VolcanicIslands:
this->writeReg32(mmSMC_IND_INDEX_11, reg);
ret = this->readReg32(mmSMC_IND_DATA_11);
break;
default:
ret = 0xFFFFFFFF;
break;
}
IOLockUnlock(this->indLock);
return ret;
Expand Down

0 comments on commit a549881

Please sign in to comment.