Skip to content

Commit fa5aeb7

Browse files
author
Eric Jennings
committed
Return fixed 20C from temperature read for now, to see if that solves interrupt serial issues
1 parent f8690c5 commit fa5aeb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utility/halTemperature.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ static inline int16_t HAL_AdcMeasure(void) {
4040
*****************************************************************************/
4141
int8_t HAL_MeasureTemperature(void) {
4242
int32_t val;
43+
return 20;
4344

4445
ADCSRC = 10 << ADSUT0;
4546
ADCSRB = (1 << MUX5);

0 commit comments

Comments
 (0)