The button in screen.c is created as active high
g_btn = button_attch(3, 1, 10);
While looking on the schematic it is clearly active low. It causes the event long press to be continuously fired.
The line should be replaced with
g_btn = button_attch(3, 0, 10); or better still with g_btn = button_attch(BTN_PIN, 0, 10)
The button in
screen.c
is created as active highg_btn = button_attch(3, 1, 10);
While looking on the schematic it is clearly active low. It causes the event long press to be continuously fired. The line should be replaced withg_btn = button_attch(3, 0, 10);
or better still withg_btn = button_attch(BTN_PIN, 0, 10)