Skip to content

Commit d4e2db7

Browse files
committed
Double promotion warning fix.
1 parent ea2d908 commit d4e2db7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/rp2040/Arduino.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ void *pcalloc(size_t count, size_t size);
9797
// ADC RP2040-specific calls
9898
void analogReadResolution(int bits);
9999
#ifdef __cplusplus
100-
float analogReadTemp(float vref = 3.3); // Returns core temp in Centigrade
100+
float analogReadTemp(float vref = 3.3f); // Returns core temp in Centigrade
101101
#endif
102102

103103
// PWM RP2040-specific calls

0 commit comments

Comments
 (0)