mirror of
https://github.com/brendanhaines/Hohm-Phone.git
synced 2024-12-25 18:37:45 -07:00
makes clearing of phone number happen regardless of who initiated the call
This commit is contained in:
parent
4bee242c21
commit
881e4fd599
|
@ -100,6 +100,10 @@ void inCall() {
|
||||||
|
|
||||||
// numpad stuff
|
// numpad stuff
|
||||||
}
|
}
|
||||||
|
for ( int j = 0; j < phoneNumberLength; j++) {
|
||||||
|
phoneNumber[j] = 0;
|
||||||
|
}
|
||||||
|
phoneNumberLength = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void beginCall() {
|
void beginCall() {
|
||||||
|
@ -113,10 +117,6 @@ void beginCall() {
|
||||||
#endif
|
#endif
|
||||||
inCall();
|
inCall();
|
||||||
}
|
}
|
||||||
for ( int j = 0; j < phoneNumberLength; j++) {
|
|
||||||
phoneNumber[j] = 0;
|
|
||||||
}
|
|
||||||
phoneNumberLength = 0;
|
|
||||||
#ifdef USB_DEBUG
|
#ifdef USB_DEBUG
|
||||||
Serial.println("Call ended");
|
Serial.println("Call ended");
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user