Minor change.

parent 217318fe
......@@ -601,17 +601,15 @@ notifyUsers ()
{
const byte numberOfMobiles = getSystemMobiles().size();
SimpleGSM & gsm = getSystemGsm();
for (byte i = 0; i < NOTIFICATIONS_PER_USER; i++)
{
for (byte j = 0; j < numberOfMobiles; j++)
{
const String mobile = getSystemMobiles().get(j);
gsm.missedCall(mobile, DELAY_TIME_OF_CALL_RINGING_DURATION);
getSystemGsm().missedCall(mobile, DELAY_TIME_OF_CALL_RINGING_DURATION);
gsm.sendSMS(mobile, SMS_MESSAGE);
getSystemGsm().sendSMS(mobile, SMS_MESSAGE);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment