Updated to match the new leds_toggle() API
This commit is contained in:
parent
60e8b29d53
commit
14aedabffd
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue