Skip to content

Commit

Permalink
Added missing extern C to STM32ADC helper files
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuszka committed Aug 29, 2019
1 parent a3a5686 commit 4f2707a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion STM32F1/libraries/STM32ADC/src/utility/util_adc.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#ifdef __cplusplus
extern "C" {
#endif

#include <libmaple/adc.h>


Expand Down Expand Up @@ -27,4 +31,8 @@ void set_continuous( adc_dev * dev);

uint8 poll_adc_convert(adc_dev *dev);

void adc_dma_enable(adc_dev * dev);
void adc_dma_enable(adc_dev * dev);

#ifdef __cplusplus
}
#endif

0 comments on commit 4f2707a

Please sign in to comment.