Skip to content

Commit 84b65dd

Browse files
committed
adc: docstring fix
Fix a docstring in the npmx_adc_meas_t enum and a syntax error in templates/npmx_config.h Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
1 parent 9e37e41 commit 84b65dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/include/npmx_adc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ typedef enum
7777
NPMX_ADC_MEAS_VSYS, ///< VSYS voltage measurement (in millivolts).
7878
NPMX_ADC_MEAS_VBAT0, ///< VBAT0 from burst mode measurement (in millivolts).
7979
NPMX_ADC_MEAS_VBAT1, ///< VBAT1 from burst mode measurement (in millivolts).
80-
NPMX_ADC_MEAS_VBAT2_IBAT, ///< Measurement of either VBAT2 in burst mode or IBAT (respectively in millivolts or milliamperes).
80+
NPMX_ADC_MEAS_VBAT2_IBAT, ///< Measurement of either VBAT2 in burst mode or IBAT (respectively in millivolts or microamperes).
8181
NPMX_ADC_MEAS_VBAT3_VBUS, ///< Measurement of either VBAT3 in burst mode or VBUS (both in millivolts).
8282
NPMX_ADC_MEAS_COUNT, ///< ADC requests maximum count.
8383
NPMX_ADC_MEAS_INVALID = NPMX_INVALID_ENUM_VALUE, ///< Invalid ADC measurement.

templates/npmx_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
#if defined(NPM1300)
3838
#include <npmx_config_npm1300.h>
39-
#if defined(NPM1304)
39+
#elif defined(NPM1304)
4040
#include <npmx_config_npm1304.h>
4141
#else
4242
#error "Unknown device."

0 commit comments

Comments
 (0)