Updated to match the new leds_toggle() API

This commit is contained in:
Adam Dunkels 2014-06-12 20:01:36 +02:00
parent 60e8b29d53
commit 14aedabffd

View file

@ -58,6 +58,6 @@ RESOURCE(res_toggle,
static void
res_post_handler(void *request, void *response, uint8_t *buffer, uint16_t preferred_size, int32_t *offset)
{
leds_invert(LEDS_RED);
leds_toggle(LEDS_RED);
}
#endif /* PLATFORM_HAS_LEDS */