mirror of
https://github.com/brendanhaines/Hohm-Phone.git
synced 2024-12-25 10:27:03 -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
|
||||
if ( !digitalRead(BUT_ANS) ) {
|
||||
fona.pickUp();
|
||||
delay(50);
|
||||
delay(100);
|
||||
inCall();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user