/* This function returns the data to be stored in non-volatile memory between power off  */
static inv_error_t inv_db_save_func(unsigned char *data)
/* This function returns the data to be stored in non-volatile memory between power off  */
static inv_error_t inv_db_save_func(unsigned char *data)
{
    memcpy(data, &inv_data_builder.save, sizeof(inv_data_builder.save));
    return INV_SUCCESS;
}