SAML21J18A: #endif without #if in analogout_api.c

This PR: 3bd3aca6db (diff-995cd6fe18f4fabfb549266dde0a3784) broke the SAML21J18A target, as there was no `#if DEVICE_ANALOGOUT` call, and this PR added an `#endif` there that's not matched now.
pull/9925/head
Jan Jongboom 2019-03-04 11:16:14 +01:00 committed by GitHub
parent 5c24ffefa4
commit 67b706a3c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -21,6 +21,8 @@
#include "PeripheralPins.h"
#include "dac.h"
#if DEVICE_ANALOGOUT
extern uint8_t g_sys_init;
#define MAX_VAL_12BIT 0x0FFF /*12 Bit DAC for SAML21*/
@ -119,4 +121,5 @@ const PinMap *analogout_pinmap()
{
return PinMap_DAC;
}
#endif
#endif // DEVICE_ANALOGOUT