Fix, compile error in enable_internal_reading()

This commit is contained in:
syfre 2017-05-06 23:04:11 +02:00
parent 50e4d84db4
commit d240a7efa7
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ void enable_adc_irq(adc_dev* dev) {//ADC1 for now.
Enable the reading of the internal variables (Temperature and Vref).
*/
void enable_internal_reading(adc_dev *dev) {
dev->regs->CR2 |= ADC_CR2_TSEREFE;
dev->regs->CR2 |= ADC_CR2_TSVREFE;
}
/*