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
1 changed files with 1 additions and 1 deletions

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 */