Skip to content
Commit fd142362 authored by Steven Slupsky's avatar Steven Slupsky Committed by Carles Cufí
Browse files

storage: flash_map: fix incomplete type



A pointer is not properly declared properly which causes the
build to fail.

flash_map_shell.c and flash_map.h do not include device.h so
the device struct has an incomplete type hence the build error.
Including device.h resolves the problem.

Also fixes a Wformat warning when referencing fa_off which is a pointer.
Cast the pointer to an uint32_t.

Fixes #48722

Signed-off-by: default avatarSteven Slupsky <sslupsky@gmail.com>
parent 9a7e4b16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment