Skip to content

Commit 760ded6

Browse files
committed
Merge branch 'patch-5' of https://github.com/janjongboom/mbed-os into rollup
2 parents 943254c + 67b706a commit 760ded6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/analogout_api.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
#include "PeripheralPins.h"
2222
#include "dac.h"
2323

24+
#if DEVICE_ANALOGOUT
25+
2426
extern uint8_t g_sys_init;
2527

2628
#define MAX_VAL_12BIT 0x0FFF /*12 Bit DAC for SAML21*/
@@ -119,4 +121,5 @@ const PinMap *analogout_pinmap()
119121
{
120122
return PinMap_DAC;
121123
}
122-
#endif
124+
125+
#endif // DEVICE_ANALOGOUT

0 commit comments

Comments
 (0)