Skip to content
Commit 273bb8e2 authored by Harry Jiang's avatar Harry Jiang Committed by Carles Cufí
Browse files

fs/nvs: fix the sector size check



The sector size is 0 will pass "fs->sector_size % info.size" then start
a loop in nvs_startup() and never return. So retrun an error if the
sector size is 0.

Signed-off-by: default avatarHarry Jiang <explora26@gmail.com>
parent f7fd1ff6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment