summaryrefslogtreecommitdiffstatshomepage
path: root/cc3200/mods/pybadc.c
diff options
context:
space:
mode:
Diffstat (limited to 'cc3200/mods/pybadc.c')
-rw-r--r--cc3200/mods/pybadc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc3200/mods/pybadc.c b/cc3200/mods/pybadc.c
index 446fb40033..c377d51089 100644
--- a/cc3200/mods/pybadc.c
+++ b/cc3200/mods/pybadc.c
@@ -83,8 +83,8 @@ typedef struct {
DEFINE PUBLIC FUNCTIONS
******************************************************************************/
STATIC void pybadc_init (pyb_adc_obj_t *self) {
- // enable the ADC channel
- MAP_ADCChannelEnable(ADC_BASE, self->channel);
+ // enable the ADC channel
+ MAP_ADCChannelEnable(ADC_BASE, self->channel);
// enable and configure the timer
MAP_ADCTimerConfig(ADC_BASE, (1 << 17) - 1);
MAP_ADCTimerEnable(ADC_BASE);