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