1
0
mirror of https://github.com/Utyff/Zintercom.git synced 2026-01-12 09:17:41 +03:00

some rework

reworked the sequence and conditions of optocouplers triggering;
clarified the name of the configurations;
This commit is contained in:
lost
2021-02-17 01:43:04 +02:00
parent c5780a9007
commit 02fac9e93d
3 changed files with 103 additions and 45 deletions

View File

@@ -22,6 +22,8 @@ extern "C" {
#define APP_BTN_CLICK_EVT 0x0004
#define APP_RING_RUN_EVT 0x0008
#define APP_BTN_HOLD_EVT 0x0010
#define APP_RING_STOP_EVT 0x0012
#define APP_TALK_START_EVT 0x0014
/*********************************************************************
* MACROS
@@ -56,7 +58,7 @@ extern "C" {
#define LED_PIN HAL_LED_1
#define CATCH_PIN HAL_LED_2
#define ANSWER_PIN HAL_LED_3
#define OPEN_PIN HAL_LED_4
#define HANDSET_PIN HAL_LED_4
#define TIMER_RESTART TRUE
#define TIMER_START FALSE