dfu: align array in dfu_get_dev_type with enum dfu_device_type
Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
This commit is contained in:
parent
dbdc2744ee
commit
dd93a8e9e6
@ -482,7 +482,7 @@ int dfu_config_entities(char *env, char *interface, char *devstr)
|
||||
|
||||
const char *dfu_get_dev_type(enum dfu_device_type t)
|
||||
{
|
||||
const char *dev_t[] = {NULL, "eMMC", "OneNAND", "NAND", "RAM" };
|
||||
const char *dev_t[] = {NULL, "eMMC", "OneNAND", "NAND", "RAM", "SF" };
|
||||
return dev_t[t];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user