Merge pull request #724 from adamdunkels/pr/toggle

Quick travis fail fix: leds_toggle()
This commit is contained in:
Adam Dunkels 2014-06-12 21:41:54 +02:00
commit 5bcdbb22cc

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