Skip to content

Commit 7e18836

Browse files
mbrossardgerargz
authored andcommitted
Consistent use of static for function
(cherry picked from commit fb4d5da)
1 parent 1255534 commit 7e18836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/board/microbitv2/pwr_mon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#define ADC_MV_TO_ADC(x) ((x) * 0xFFF / 3300) // Convert mV to ADC value (12bit and 3.3V reference)
3636
#define BATT_MIN_VOLTAGE 1500
3737

38-
void pwr_mon_bandgap_init(void);
38+
static void pwr_mon_bandgap_init(void);
3939
static uint32_t pwr_mon_read_vbg(uint32_t channelGroup);
4040
static uint32_t pwr_mon_adc_to_mv(uint32_t raw_adc);
4141

0 commit comments

Comments
 (0)