mirror of
https://github.com/brendanhaines/Hohm-Phone.git
synced 2024-11-09 21:14:44 -07:00
increase delay after picking up call to prevent accidental auto-ends
This commit is contained in:
parent
8e75ca8522
commit
5401517c2d
|
@ -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(50);
|
delay(100);
|
||||||
inCall();
|
inCall();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user