#include <mware/event.h>
+#warning TODO:Refactor this test to comply whit BeRTOS test policy.
static void timer_test_constants(void)
{
kprintf("ticks_to_us(100)=%lu\n", ticks_to_us(100));
kprintf("ticks_to_us(10000)=%lu\n", ticks_to_us(10000));
kprintf("\n");
- kprintf("hptime_to_us(100)=%lu\n", hptime_to_us(100));
+ kprintf("hptime_to_us(100)=%ld\n", hptime_to_us(100));
kprintf("hptime_to_us(10000)=%lu\n", hptime_to_us(10000));
kprintf("us_to_hptime(100)=%lu\n", us_to_hptime(100));
kprintf("us_to_hptime(10000)=%lu\n", us_to_hptime(10000));
/* Implement me! */
//Warning: this funtions is like avr target name,
//fix it to comply for all target.
+
+ //Only for test remove when implement this function
+ (void)dev;
}
INLINE void MCP41_ON(Mcp41Dev i)
{
/* Implement me! */
+
+ //Only for test remove when implement this function
+ (void)i;
}
INLINE void MCP41_OFF(Mcp41Dev i)
{
/* Implement me! */
+
+ //Only for test remove when implement this function
+ (void)i;
}
#endif /* HW_MCP41_H */
switch (dev)
{
case THERMO_TEST:
- phase_setPower(TRIAC_TEST, 0);
+ phase_setPower(TRIAC_TEST, 0);
break;
/* Put here a thermo device to turn off */