-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nrf-ble-driver] Fix incorrect tag, version number & compilation with…
… gcc-11.2.0 (#31873) * [nrf-ble-driver] fix compilation with gcc 11.2.0 PR: NordicSemiconductor/pc-ble-driver#272 * [nrf-ble-driver] fix version & use correct tag - Fixed version inconsistency (#28036) - Used correct tag with precompiled hex files
- Loading branch information
Showing
5 changed files
with
34 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From 00791acc7c23ac2421102edd42a7fa562cc98bfd Mon Sep 17 00:00:00 2001 | ||
From: Krzysztof Rosinski <[email protected]> | ||
Date: Wed, 29 Dec 2021 09:47:40 +0100 | ||
Subject: [PATCH] fix compilation issue (gcc-11.2.0) | ||
|
||
error: 'sleep_for' is not a member of 'std::this_thread' | ||
--- | ||
src/common/transport/uart_transport.cpp | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/src/common/transport/uart_transport.cpp b/src/common/transport/uart_transport.cpp | ||
index 1f063ff2..96e045fb 100644 | ||
--- a/src/common/transport/uart_transport.cpp | ||
+++ b/src/common/transport/uart_transport.cpp | ||
@@ -45,6 +45,7 @@ | ||
#include <mutex> | ||
#include <sstream> | ||
#include <system_error> | ||
+#include <thread> | ||
|
||
#if defined(__APPLE__) | ||
#include <IOKit/serial/ioss.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters