/* set partition table temporarily This setting will modify the partition table temporarily, the setting will be lost after restart. */
void fal_set_partition_table_temp(struct fal_partition *table, size_t len)
/* set partition table temporarily This setting will modify the partition table temporarily, the setting will be lost after restart. */
void fal_set_partition_table_temp(struct fal_partition *table, size_t len)
{
    assert(table);
    if (!init_ok)
    {
        log_e("FAL NOT initialized");
        return;
    }
    check_and_update_part_cache(table, len);
    partition_table_len = len;
    partition_table = table;
}