diff --git a/cpu/lpc2387/lpc2387-adc.c b/cpu/lpc2387/lpc2387-adc.c index 8e5fa8195..75e8514bf 100644 --- a/cpu/lpc2387/lpc2387-adc.c +++ b/cpu/lpc2387/lpc2387-adc.c @@ -25,7 +25,7 @@ #define ENABLE_DEBUG (0) #include "debug.h" #if ENABLE_DEBUG -#include "hwtimer.h" +#include "xtimer.h" #endif /*---------------------------------------------------------------------------*/ @@ -109,12 +109,12 @@ uint16_t adc_read(uint8_t channel) /* switch channel, start A/D convert */ AD0CR &= 0xFFFFFF00; #if ENABLE_DEBUG - t1 = hwtimer_now(); + t1 = xtimer_now(); #endif AD0CR |= (1 << 24) | (1 << channel); #if ENABLE_DEBUG - t2 = hwtimer_now(); + t2 = xtimer_now(); #endif while (1) {