From f3418971e60ed319a367bb8cc640e282d82306b4 Mon Sep 17 00:00:00 2001 From: klonfish Date: Mon, 28 Dec 2020 19:37:13 +0000 Subject: [PATCH] Re-add callback registrations Those where lost in c5d305295b. --- fetapd.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fetapd.py b/fetapd.py index abee90a..5a8db5a 100644 --- a/fetapd.py +++ b/fetapd.py @@ -74,6 +74,11 @@ if __name__ == '__main__': feap = FeApUserInterface(cfg.pinconfig) controller = statemachine.StateMachineController(phone, feap, cfg.dialconfig) + feap.add_gabelschalter_callback(gabelschalter_cb) + feap.add_nummernschalter_active_callback(nummernschalter_active_cb) + feap.add_nummernschalter_done_callback(nummernschalter_done_cb) + phone.add_event_cb(phone_cb) + phone.start() try: while True: