MCPcopy Create free account
hub / github.com/kiibohd/controller / Device_process

Function Device_process

Bootloader/Devices/Infinity_Ergodox.c:73–81  ·  view source on GitHub ↗

Called during each loop of the main bootloader sequence

Source from the content-addressed store, hash-verified

71
72// Called during each loop of the main bootloader sequence
73void Device_process()
74{
75 // Check for S7 being pressed
76 if ( GPIO_Ctrl( sense_pin, GPIO_Type_Read, GPIO_Config_Pulldown ) )
77 {
78 print( "Reset key pressed." NL );
79 SOFTWARE_RESET();
80 }
81}
82

Callers

nothing calls this directly

Calls 1

GPIO_CtrlFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…