show acrive partition

This commit is contained in:
Harald Pichler 2017-10-06 13:25:53 +02:00
parent 3479303454
commit 7fffc50d7c

View file

@ -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());
}