mirror of
https://github.com/brendanhaines/Hohm-Phone.git
synced 2024-12-26 10:57:36 -07:00
reduces delay on phone answer before checking for hangup button
This commit is contained in:
parent
93cb502f88
commit
8e75ca8522
|
@ -169,7 +169,7 @@ void loop() {
|
||||||
while ( digitalRead(BUT_ANS) & !digitalRead(GSM_RING) ) delay(10); // Wait for answer button or end ring/call
|
while ( digitalRead(BUT_ANS) & !digitalRead(GSM_RING) ) delay(10); // Wait for answer button or end ring/call
|
||||||
if ( !digitalRead(BUT_ANS) ) {
|
if ( !digitalRead(BUT_ANS) ) {
|
||||||
fona.pickUp();
|
fona.pickUp();
|
||||||
delay(500);
|
delay(50);
|
||||||
inCall();
|
inCall();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user