TCNT0 => HAL_timer_get_current_count

Fix #8710
This commit is contained in:
Scott Lahteine
2017-12-08 22:13:03 -06:00
parent b3daf6b5db
commit 4fa65a5c25
3 changed files with 26 additions and 25 deletions

View File

@ -1588,7 +1588,7 @@ void Temperature::set_current_temp_raw() {
/**
* Timer 0 is shared with millies so don't change the prescaler.
*
* This ISR uses the compare method so it runs at the base
* On AVR this ISR uses the compare method so it runs at the base
* frequency (16 MHz / 64 / 256 = 976.5625 Hz), but at the TCNT0 set
* in OCR0B above (128 or halfway between OVFs).
*