Skip to content

Commit fb627f0

Browse files
Make files using #errors.h commpatible with OS build
1 parent adaf020 commit fb627f0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/errors.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#if !defined(ERRORS_H)
2020
#define ERRORS_H
2121

22+
#if !defined(HAVE_BOLOS)
23+
2224
#include "status_words.h"
2325

2426
/**
@@ -125,6 +127,10 @@ enum sdk_generic_identifiers {
125127
#define SWO_IOL_BLE_0C (ERR_IOL_BLE + ERR_GEN_ID_0C) // 0x150C
126128
#endif // HAVE_BLE
127129

130+
#else
131+
#include "os_errors.h"
132+
#endif // HAVE_BOLOS
133+
128134
// Legacy
129135
#define EXCEPTION 0x1 // keep original value // SWO_MUI_UNK_01
130136
#define INVALID_PARAMETER 0x2 // keep original value // SWO_CRY_LEN_01

0 commit comments

Comments
 (0)