You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CubeSatSim/libs/libmf/source/wt01rem.c

16 lines
381 B

#include "ax8052.h"
#include "wtimer.h"
__reentrantb uint8_t wtimer_remove(struct wtimer_desc __xdata *desc) __reentrant
{
struct wtimer_desc __xdata *d;
uint8_t ret;
uint8_t iesave = IE & 0x80;
EA = 0;
ret = wtimer_removecb_core((struct wtimer_callback __xdata *)desc);
ret += wtimer0_removecb_core(desc);
ret += wtimer1_removecb_core(desc);
IE |= iesave;
return ret;
}

Powered by TurnKey Linux.