energest: removed include of energest from contiki.h to avoid circular dependency

This commit is contained in:
Niclas Finne 2017-10-31 22:12:47 +01:00
parent cffe0c59f2
commit e6ba2664b8
8 changed files with 7 additions and 3 deletions

View File

@ -40,6 +40,7 @@
#include "net/netstack.h"
#include "net/packetbuf.h"
#include "dev/watchdog.h"
#include "sys/energest.h"
#include "dev/leds.h"

View File

@ -36,6 +36,7 @@
#include <string.h>
#include "contiki.h"
#include "sys/energest.h"
#include "dev/leds.h"
#include "dev/spi.h"

View File

@ -44,6 +44,7 @@
#include "contiki.h"
#include "dev/leds.h"
#include "sys/rtimer.h"
#include "sys/energest.h"
#include "net/packetbuf.h"
#include "net/netstack.h"
#include "net/mac/framer/frame802154.h"

View File

@ -52,6 +52,7 @@
#include "dev/uart-driver.h"
#include "contiki.h"
#include "sys/energest.h"
#include "net/netstack.h"
#include "dev/serial-line.h"

View File

@ -31,6 +31,7 @@
#include <stdio.h>
#include <string.h>
#include "contiki.h"
#include "sys/energest.h"
#include "cc2420.h"
#include "dev/ds2411/ds2411.h"
#include "dev/leds.h"

View File

@ -43,6 +43,7 @@
#include "contiki.h"
#include "contiki-net.h"
#include "sys/platform.h"
#include "sys/energest.h"
#include "dev/watchdog.h"
#if BUILD_WITH_ORCHESTRA

View File

@ -49,6 +49,4 @@
#include "sys/clock.h"
#include "sys/energest.h"
#endif /* CONTIKI_H_ */

View File

@ -37,8 +37,8 @@
* Adam Dunkels <adam@sics.se>
*/
#include "sys/energest.h"
#include "contiki.h"
#include "sys/energest.h"
#if ENERGEST_CONF_ON