Index: NVDataMgmt.c =================================================================== diff -u -r74f514bf950f188d70ca4ae1e4b6fa2309bb3870 -r09f34c113c719c5c2dd48607f028b47d805becf9 --- NVDataMgmt.c (.../NVDataMgmt.c) (revision 74f514bf950f188d70ca4ae1e4b6fa2309bb3870) +++ NVDataMgmt.c (.../NVDataMgmt.c) (revision 09f34c113c719c5c2dd48607f028b47d805becf9) @@ -938,15 +938,15 @@ BOOL scheduleStatus = enqueueSector0Records(); #ifdef _HD_ + MESSAGE_T institMsg; // Got new data for the EEPROM records, set the latest institutional record to treatment parameters to make sure // the treatment parameters have the record available all the time setNVInstitutionalRecordToTxParamsRecord( &hdInstitutionalGroup.hdInstitutionalRecord ); // Received new institutional record and it is valid, send it to the UI to be up to date - MESSAGE_T institMsg; institMsg.hdr.msgID = 0; institMsg.hdr.payloadLen = 0; - sendInstitutionalRecordToUI( &institMsg ); + handleSendInstitutionalRecordToUI( &institMsg ); #endif // Signal that there is a new calibration record available. @@ -1893,7 +1893,7 @@ // Received new institutional record and it is valid, send it to the UI to be up to date institMsg.hdr.msgID = 0; institMsg.hdr.payloadLen = 0; - sendInstitutionalRecordToUI( &institMsg ); + handleSendInstitutionalRecordToUI( &institMsg ); #endif } else