shell: expose currently probed flash device

This commit is contained in:
S.J.R. van Schaik 2017-03-23 15:19:04 +00:00
parent adcda56894
commit 886b90f5f3

View file

@ -23,7 +23,7 @@ static struct cmd flash_cmds[] = {
{ NULL, NULL },
};
static struct flash_dev *flash = NULL;
struct flash_dev *flash = NULL;
/* TODO: implement a parser for hex arrays that is more user-friendly.
* Also implement dry runs for programmers. */