[SQUASH] Remove unrelevant changes

This commit is contained in:
DipSwitch 2016-04-05 23:54:01 +02:00
parent a259cc42b0
commit 945f01f7e0
2 changed files with 3 additions and 4 deletions

View File

@ -37,7 +37,6 @@ extern "C" {
*/
#define XTIMER_MASK (0xffff0000)
#define XTIMER_BACKOFF 5
#define XTIMER_SHIFT_ON_COMPARE (1)
/** @} */
#ifdef __cplusplus

View File

@ -56,7 +56,7 @@ int timer_init(tim_t tim, unsigned long freq, timer_cb_t cb, void *arg)
dev(tim)->CR2 = 0;
dev(tim)->ARR = TIMER_MAXVAL;
/* set prescaler */
dev(tim)->PSC = (((CLOCK_CORECLOCK) / freq) - 1);
dev(tim)->PSC = ((CLOCK_CORECLOCK / freq) - 1);
/* generate an update event to apply our configuration */
dev(tim)->EGR = TIM_EGR_UG;