mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-01-17 01:18:06 +00:00
Fix EF.DIR selection.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
bf2f961b85
commit
c1a47ed023
2 changed files with 2 additions and 2 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 5c11db54aebb729c64995efdf7170f5aecbca95f
|
||||
Subproject commit eca200d2f13d2846d1c6e6373d6276aa25e6ae4b
|
||||
|
|
@ -23,7 +23,7 @@ void select_file(file_t *pe) {
|
|||
currentDF = (file_t *) MF;
|
||||
currentEF = NULL;
|
||||
}
|
||||
else if (pe->type & FILE_TYPE_INTERNAL_EF) {
|
||||
else if (pe->type & (FILE_TYPE_INTERNAL_EF|FILE_TYPE_WORKING_EF)) {
|
||||
currentEF = pe;
|
||||
currentDF = &file_entries[pe->parent];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue