/* * Handle a timer event */ void HandleLightTimerEvent(void) { if ((E131status != E131_STATUS_IDLE) || (RunOnce)) { if (RunOnce) RunOnce = 0; SetLightTimer(usTimerValue); E131_Send(); } }
void E131_CloseSequenceFile() { E131_SetTimer(0); // Close the file if(seqFile !=NULL) { fclose(seqFile); seqFile=NULL; } E131status = E131_STATUS_IDLE; //Send blanking data sendBlankingData = 1; E131_Send(); sendBlankingData = 0; }