Coffee no longer uses watchdog calls
This commit is contained in:
parent
1e69c4c795
commit
3d28da8813
|
@ -43,7 +43,6 @@
|
||||||
|
|
||||||
#include "contiki-conf.h"
|
#include "contiki-conf.h"
|
||||||
#include "dev/xmem.h"
|
#include "dev/xmem.h"
|
||||||
#include "dev/watchdog.h"
|
|
||||||
|
|
||||||
/*** M25P16 Memory Organization
|
/*** M25P16 Memory Organization
|
||||||
The memory is organized as:
|
The memory is organized as:
|
||||||
|
@ -69,9 +68,6 @@ sector or bulk erasable (bits are erased from 0 to 1) but not page erasable
|
||||||
|
|
||||||
#define COFFEE_MICRO_LOGS 1
|
#define COFFEE_MICRO_LOGS 1
|
||||||
|
|
||||||
#define COFFEE_WATCHDOG_START() watchdog_start()
|
|
||||||
#define COFFEE_WATCHDOG_STOP() watchdog_stop()
|
|
||||||
|
|
||||||
/* Flash operations. */
|
/* Flash operations. */
|
||||||
#define COFFEE_WRITE(buf, size, offset) \
|
#define COFFEE_WRITE(buf, size, offset) \
|
||||||
xmem_pwrite((char *)(buf), (size), COFFEE_START + (offset))
|
xmem_pwrite((char *)(buf), (size), COFFEE_START + (offset))
|
||||||
|
|
Loading…
Reference in a new issue