Skip to content

Commit

Permalink
Exclude building os_msys_init.c when using NimBLE controller.
Browse files Browse the repository at this point in the history
  • Loading branch information
h2zero committed Nov 7, 2024
1 parent d383f15 commit 20c1e85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/nimble/porting/nimble/src/os_msys_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
* under the License.
*/

#include "nimconfig.h"
#if !defined(ESP_NIMBLE_CONTROLLER_ENABLED)

#include <assert.h>
#include "../include/os/os.h"
#include "../include/mem/mem.h"
Expand Down Expand Up @@ -220,3 +223,4 @@ void os_msys_init(void)
SYSINIT_PANIC_ASSERT(rc == 0);
#endif
}
#endif

0 comments on commit 20c1e85

Please sign in to comment.