fix compilation with latest aversive
[protos/xbee-avr.git] / scheduler_dump.c
diff --git a/scheduler_dump.c b/scheduler_dump.c
deleted file mode 100644 (file)
index 49eddcb..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/*  
- *  Copyright Droids Corporation, Microb Technology, Eirbot (2005)
- * 
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- *
- *  Revision : $Id: scheduler_dump.c,v 1.1.2.3 2009-05-18 12:30:36 zer0 Exp $
- *
- */
-
-#include <stdio.h>
-
-#include <aversive.h>
-#include <aversive/pgmspace.h>
-
-#include <scheduler_config.h>
-#include <scheduler_private.h>
-
-/** Dump the event structure table */
-void scheduler_dump_events(void)
-{
-       int i;
-
-       printf_P(PSTR("== Dump events ==\r\n"));
-       for (i=0 ; i<SCHEDULER_NB_MAX_EVENT ; i++) {
-               printf_P(PSTR("  [%d]@%p : "), i, &g_tab_event[i]);
-               printf_P(PSTR("  state=%d"), g_tab_event[i].state);
-               if (g_tab_event[i].state >= SCHEDULER_EVENT_ACTIVE ) {
-                       printf_P(PSTR(", f=%p, "), g_tab_event[i].f);
-                       printf_P(PSTR("data=%p, "), g_tab_event[i].data);
-                       printf_P(PSTR("period=%d, "), g_tab_event[i].period);
-                       printf_P(PSTR("current_time=%d, "), g_tab_event[i].current_time);
-                       printf_P(PSTR("priority=%d, "), g_tab_event[i].priority);
-                       printf_P(PSTR("list_next=%p\r\n"), SLIST_NEXT(&g_tab_event[i], next));
-               }
-               else {
-                       printf_P(PSTR("\r\n"));
-               }
-       }
-}
-
-