Home
last modified time | relevance | path

Searched refs:enable_bitmap (Results 1 – 2 of 2) sorted by relevance

/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/
Dlws-button.c52 lws_button_idx_t enable_bitmap; member
463 lws_button_idx_t u = (bcs->enable_bitmap & (~_reset)) | _set; in lws_button_enable()
471 if (!(bcs->enable_bitmap & (1 << n)) && (u & (1 << n))) { in lws_button_enable()
490 if ((bcs->enable_bitmap & (1 << n)) && !(u & (1 << n))) in lws_button_enable()
496 bcs->enable_bitmap = u; in lws_button_enable()
/third_party/libwebsockets/lib/drivers/button/
Dlws-button.c52 lws_button_idx_t enable_bitmap; member
498 lws_button_idx_t u = (bcs->enable_bitmap & (~_reset)) | _set; in lws_button_enable()
506 if (!(bcs->enable_bitmap & (1 << n)) && (u & (1 << n))) { in lws_button_enable()
525 if ((bcs->enable_bitmap & (1 << n)) && !(u & (1 << n))) in lws_button_enable()
531 bcs->enable_bitmap = u; in lws_button_enable()