mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/sam3: removed guards from periph drivers
This commit is contained in:
parent
cb49e20be0
commit
50ad7e523f
@ -32,9 +32,6 @@
|
||||
#define ENABLE_DEBUG (0)
|
||||
#include "debug.h"
|
||||
|
||||
/* guard file in case no PWM device is defined */
|
||||
#if defined(PWM_NUMOF) && defined(PWM_CHAN_NUMOF)
|
||||
|
||||
#define PREA_MAX (10U)
|
||||
|
||||
static uint16_t pwm_period;
|
||||
@ -128,5 +125,3 @@ void pwm_poweroff(pwm_t pwm)
|
||||
PWM->PWM_ENA = 0;
|
||||
PMC->PMC_PCDR1 = PMC_PCDR1_PID36;
|
||||
}
|
||||
|
||||
#endif /* PWM_NUMOF && PWM_CHAN_NUMOF */
|
||||
|
Loading…
Reference in New Issue
Block a user