Open terrillmoore opened 3 years ago
This is for the future FRAM scrub. saveField() needs to change to bool and do more logging, e.g.,
saveField()
bool rc; rc = true; if (! cursor.create()) { gLog.printf(gLog.kError, "%s: can't save uKey(0x%x) %u bytes\n", __func__, uKey, nValue ); rc = false; } if (! cursor.put(pValue, nValue)) { gLog.printf(gLog.kError, "%s: can't put uKey(0xx) %u bytes\n", __func__, uKey, nValue ); rc = false; } return rc;
This is for the future FRAM scrub.
saveField()
needs to change to bool and do more logging, e.g.,