//#line 51 //# 48 "/opt/tinyos-2.x-contrib/diku/mcs51/tos/platforms/cc2430em/PlatformP.nc" static /*inline*/ error_t PlatformP__Init__init(void ) //#line 48 { uint8_t new_clkcon; //#line 88 SLEEP = (SLEEP & ~CC2430_SLEEP_MODE_MASK) | CC2430_SLEEP_POWERMODE_0; SLEEP &= ~(1 << CC2430_SLEEP_OSC_PD); while (!(SLEEP & (1 << CC2430_SLEEP_XOSC_STB))) ; new_clkcon = 0x0; new_clkcon = (new_clkcon & ~CC2430_CLKCON_TICKSPD_MASK) | CC2430_TICKF_DIV_1; new_clkcon &= ~(1 << CC2430_CLKCON_OSC32K); new_clkcon &= ~(1 << CC2430_CLKCON_OSC); new_clkcon |= 1 << CC2430_CLKCON_TICKSPD; CLKCON = new_clkcon; //#line 137 PlatformP__LedsInit__init(); return SUCCESS; }
void bug_1864577 (void) { ASSERT (PlatformP__LedsInit__init () == SUCCESS); }