Copy paste fixes

This commit is contained in:
Mark Hermeling 2023-10-12 13:31:36 +00:00 committed by Adam Honse
parent 8d19ceff95
commit f3d9877598
3 changed files with 10 additions and 10 deletions

View file

@ -74,7 +74,7 @@ void SapphireNitroGlowV3Controller::SetExternalControl(bool enabled)
unsigned char SapphireNitroGlowV3Controller::GetBrightness()
{
return(bus->i2c_smbus_read_byte_data(dev, SAPPHIRE_NITRO_GLOW_V3_REG_MODE));
return(bus->i2c_smbus_read_byte_data(dev, SAPPHIRE_NITRO_GLOW_V3_REG_BRIGHTNESS));
}
void SapphireNitroGlowV3Controller::SetBrightness(unsigned char brightness)