diff --git a/module_usb_audio/powersave/archU_powerSaving.xc b/module_usb_audio/powersave/archU_powerSaving.xc index 068c1717..4f42f66c 100644 --- a/module_usb_audio/powersave/archU_powerSaving.xc +++ b/module_usb_audio/powersave/archU_powerSaving.xc @@ -5,6 +5,7 @@ #include #include #include +#include #ifndef VOLTAGE_REDUCTION_mV #define VOLTAGE_REDUCTION_mV 20 @@ -25,7 +26,7 @@ void archU_powerSaving() // Reduce the VDDCORE voltage level for (unsigned count=0; count < (VOLTAGE_REDUCTION_mV/10); count++) { - timer t; + hwtimer_t t; int time; writeval[0] = (ARCH_U_VOLTAGE_FIRST_STEP - count);