mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
cpu/mc1322x: fix mc1322x-adc.h cpp compatability
This commit is contained in:
parent
5dbab29df0
commit
c540c8a3a9
@ -16,6 +16,10 @@
|
||||
#include <stdint.h>
|
||||
#include "adc_legacy.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define ADC_BASE (0x8000D000)
|
||||
|
||||
/* Structure-based register definitions */
|
||||
@ -129,4 +133,8 @@ void adc_setup_channel(uint8_t channel);
|
||||
void adc_flush(void);
|
||||
void adc_service(uint16_t *channels_read);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* MC1322X_ADC_H */
|
||||
|
Loading…
Reference in New Issue
Block a user