Skip to content

Commit a84b45f

Browse files
authored
Double promotion warning fix. (#3127)
1 parent 817a057 commit a84b45f

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)