/*
 * task5 - task for os
 *
 * $Id: task5.c,v 1.8 2002/08/02 20:05:07 tomdean Exp $
 */

#include <sys/ports_def.h>
#include <os.h>
#include <lcd.h>
#include <libeeprom.h>

unsigned char stack5[STACK_SIZE];

void task5() {
  register unsigned short loop_count = 0;
  register msg_t *msg;
  
  while (1) {
	hex_to_ascii_4(++loop_count, TASK5_COUNT);
	SYS_RECV_WAIT(msg);
	
	/* XXX fix me - test is redundant - checked in swi() */
	if (msg != NULL) msg->empty = 1;
  }
}

