Skip to content

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
FredM67 committed Mar 10, 2024
1 parent 29d72ba commit 61acc00
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Mk2_3phase_RFdatalog_temp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ static_assert(__cplusplus >= 201703L, "See also : https://github.com/FredM67/PVR

/**
* @brief Interrupt Service Routine - Interrupt-Driven Analog Conversion.
*
* @details An Interrupt Service Routine is now defined which instructs the ADC to perform a conversion
* for each of the voltage and current sensors in turn.
*
Expand All @@ -71,6 +72,7 @@ static_assert(__cplusplus >= 201703L, "See also : https://github.com/FredM67/PVR
* - Variables shared with main code may need to be protected by "critical sections"
* - Don't try to turn interrupts off or on
*
* @ingroup TimeCritical
*/
ISR(ADC_vect)
{
Expand Down Expand Up @@ -425,7 +427,7 @@ void loop()

tx_data.temperature_x100[idx] = tmp;
} while (idx);

temperatureSensing.requestTemperatures(); // for use next time around
}

Expand Down

0 comments on commit 61acc00

Please sign in to comment.