Skip to content

Instantly share code, notes, and snippets.

@Danysan1
Created May 12, 2016 19:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Danysan1/a84b1404d7a43b830f3a8bb82934e254 to your computer and use it in GitHub Desktop.
Save Danysan1/a84b1404d7a43b830f3a8bb82934e254 to your computer and use it in GitHub Desktop.
// Header - Clocks
if(validCoreClock)
ui->l_cClk->setText(format_GPUClock);
else
ui->l_cClk->clear();
if(validMemoryClock)
ui->l_mClk->setText(format_memoryClock);
else
ui->l_mClk->clear();
// Header - Volts
if(validMemoryVolt)
ui->l_mVolt->setText(format_memoryVoltage);
else
ui->l_mVolt->clear();
if(validCoreVolt)
ui->l_cVolt->setText(format_GPUVoltage);
else
ui->l_cVolt->clear();
// Header - Temperature
ui->l_temp->setText(format_currentTemp);
// Header - Fan speed
if(validPwmSpeed)
ui->l_fanSpeed->setText(format_fanSpeed);
else
ui->l_fanSpeed->clear();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment