MCPcopy Create free account
hub / github.com/0x1abin/MultiButton / button_is_pressed

Function button_is_pressed

multi_button.c:109–113  ·  view source on GitHub ↗

* @brief Check if button is currently pressed * @param handle: the button handle struct * @retval 1: pressed, 0: not pressed, -1: error */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

test_null_handleFunction · 0.85
generic_event_handlerFunction · 0.85
print_button_statusFunction · 0.85
mainFunction · 0.85
poll_and_handle_eventsFunction · 0.85
print_statusFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_null_handleFunction · 0.68