From 4f7fea2addf4a5bc7c301e78f53d9080eaf43fb6 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Mon, 16 Jan 2017 07:23:09 -0500 Subject: Fix path handling snafu for CheckWPS tool Somehow it got hooked to simulator file functions when it should be (and was) using raw OS functions. Credit: Frank Gevaerts Change-Id: Iac02fed1067830a432183632a047e00dfd03d3c2 --- firmware/include/dir.h | 4 ++-- firmware/include/file.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'firmware/include') diff --git a/firmware/include/dir.h b/firmware/include/dir.h index f7719823a9..2f78b11cf5 100644 --- a/firmware/include/dir.h +++ b/firmware/include/dir.h @@ -27,9 +27,9 @@ #include "config.h" #include "fs_attr.h" -#if defined (APPLICATION) +#if defined (APPLICATION) || defined(CHECKWPS) #include "filesystem-app.h" -#elif defined(SIMULATOR) || defined(__PCTOOL__) +#elif defined(SIMULATOR) || defined(DBTOOL) #include "../../uisimulator/common/filesystem-sim.h" #else #include "filesystem-native.h" diff --git a/firmware/include/file.h b/firmware/include/file.h index 8e5bacec0e..040f48dfc5 100644 --- a/firmware/include/file.h +++ b/firmware/include/file.h @@ -42,9 +42,9 @@ enum relate_result RELATE_PREFIX, /* the path2 contains path1 as a prefix */ }; -#if defined(APPLICATION) +#if defined(APPLICATION) || defined(CHECKWPS) #include "filesystem-app.h" -#elif defined(SIMULATOR) || defined(__PCTOOL__) +#elif defined(SIMULATOR) || defined(DBTOOL) #include "../../uisimulator/common/filesystem-sim.h" #else #include "filesystem-native.h" -- cgit