show acrive partition
This commit is contained in:
parent
3479303454
commit
7fffc50d7c
|
@ -10,6 +10,7 @@ extern "C" {
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "contiki.h"
|
#include "contiki.h"
|
||||||
#include "contiki-net.h"
|
#include "contiki-net.h"
|
||||||
|
#include "bootloader_if.h"
|
||||||
#include "er-coap.h"
|
#include "er-coap.h"
|
||||||
#include "resources.h"
|
#include "resources.h"
|
||||||
char resname[] = "update";
|
char resname[] = "update";
|
||||||
|
@ -31,5 +32,5 @@ void setup (void)
|
||||||
|
|
||||||
void loop (void)
|
void loop (void)
|
||||||
{
|
{
|
||||||
printf ("Hello\n");
|
printf ("Hello %lu\n",bootloader_get_active_part());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue