Part Number:CC1310
Tool/software: TI-RTOS
Hello,
I'm using the storage algrotihme but i rewritten it for an external flash. My question is the following one, do i need to call compactNV regularly in an idle function in this way :
void common_idle(void) { static uint32_t memo_time = 10000; uint32_t current_time = Clock_getTicks() * Clock_tickPeriod / 1000; if (current_time > memo_time) { pNV->compactNV(1024); memo_time = current_time + 10000; } }
Regards,
Aurélien