Fixed some whitespace / cosmetics.

This commit is contained in:
Dual Tachyon 2023-08-22 00:11:05 +01:00
parent 7fc3f9649a
commit db2e9686ea
2 changed files with 7 additions and 9 deletions

10
dtmf.c
View File

@ -43,10 +43,10 @@ bool DTMF_ValidateCodes(char *pCode, uint8_t Size)
bool DTMF_GetContact(uint8_t Index, char *pContact)
{
EEPROM_ReadBuffer(0x1C00 + (Index * 0x10), pContact, 16);
if ((pContact[0] - ' ') >= 0x5F) {
return false;
}
EEPROM_ReadBuffer(0x1C00 + (Index * 0x10), pContact, 16);
if ((pContact[0] - ' ') >= 0x5F) {
return false;
}
return true;
return true;
}

6
init.c
View File

@ -44,10 +44,8 @@ void DATA_Init(void)
pDataRam = _sdata;
pDataFlash = _sidata;
while (pDataRam < _sidata_end__){
*pDataRam = *pDataFlash;
pDataRam++;
pDataFlash++;
while (pDataRam < _sidata_end__) {
*pDataRam++ = *pDataFlash++;
}
}