-
Notifications
You must be signed in to change notification settings - Fork 838
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'bugfix/patch_cannot_apply_on_windows' into 'master'
fix: Fixed the issue where patches could not be applied on windows See merge request application/esp-at!1597
- Loading branch information
Showing
30 changed files
with
167 additions
and
211 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 |
---|---|---|
|
@@ -22,6 +22,7 @@ repos: | |
.*_pb2.py| | ||
.*.pb-c.h| | ||
.*.pb-c.c| | ||
.*.patch| | ||
.*.yuv | ||
)$ | ||
- id: end-of-file-fixer | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
From 7485572ef7e5b076d90d29f9335dcb726ef3714f Mon Sep 17 00:00:00 2001 | ||
From: xiewenxiang <[email protected]> | ||
Date: Fri, 29 Mar 2024 10:41:25 +0800 | ||
Subject: [PATCH] modify bluedroid conn timeout | ||
|
||
--- | ||
components/bt/host/bluedroid/stack/l2cap/l2c_ble.c | 11 +++++++---- | ||
1 file changed, 7 insertions(+), 4 deletions(-) | ||
|
||
diff --git a/components/bt/host/bluedroid/stack/l2cap/l2c_ble.c b/components/bt/host/bluedroid/stack/l2cap/l2c_ble.c | ||
index 4e6c8534ec..fa7a877491 100644 | ||
--- a/components/bt/host/bluedroid/stack/l2cap/l2c_ble.c | ||
|
@@ -27,13 +18,11 @@ index 4e6c8534ec..fa7a877491 100644 | |
uint32_t current_time = (esp_system_get_time()/1000); | ||
- link_timeout = (L2CAP_BLE_LINK_CONNECT_TOUT*1000 - (current_time - p_lcb->start_time_s))/1000; | ||
+ link_timeout = (bluedroid_conn_wait_time*1000 - (current_time - p_lcb->start_time_s))/1000; | ||
|
||
- if(link_timeout == 0 || link_timeout > L2CAP_BLE_LINK_CONNECT_TOUT) { | ||
- link_timeout = L2CAP_BLE_LINK_CONNECT_TOUT; | ||
+ if(link_timeout == 0 || link_timeout > bluedroid_conn_wait_time) { | ||
+ link_timeout = bluedroid_conn_wait_time; | ||
} | ||
} | ||
|
||
-- | ||
2.25.1 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
From 7485572ef7e5b076d90d29f9335dcb726ef3714f Mon Sep 17 00:00:00 2001 | ||
From: xiewenxiang <[email protected]> | ||
Date: Fri, 29 Mar 2024 10:41:25 +0800 | ||
Subject: [PATCH] modify bluedroid conn timeout | ||
|
||
--- | ||
components/bt/host/bluedroid/stack/l2cap/l2c_ble.c | 11 +++++++---- | ||
1 file changed, 7 insertions(+), 4 deletions(-) | ||
|
||
diff --git a/components/bt/host/bluedroid/stack/l2cap/l2c_ble.c b/components/bt/host/bluedroid/stack/l2cap/l2c_ble.c | ||
index 4e6c8534ec..fa7a877491 100644 | ||
--- a/components/bt/host/bluedroid/stack/l2cap/l2c_ble.c | ||
|
@@ -27,13 +18,11 @@ index 4e6c8534ec..fa7a877491 100644 | |
uint32_t current_time = (esp_system_get_time()/1000); | ||
- link_timeout = (L2CAP_BLE_LINK_CONNECT_TOUT*1000 - (current_time - p_lcb->start_time_s))/1000; | ||
+ link_timeout = (bluedroid_conn_wait_time*1000 - (current_time - p_lcb->start_time_s))/1000; | ||
|
||
- if(link_timeout == 0 || link_timeout > L2CAP_BLE_LINK_CONNECT_TOUT) { | ||
- link_timeout = L2CAP_BLE_LINK_CONNECT_TOUT; | ||
+ if(link_timeout == 0 || link_timeout > bluedroid_conn_wait_time) { | ||
+ link_timeout = bluedroid_conn_wait_time; | ||
} | ||
} | ||
|
||
-- | ||
2.25.1 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
From 7485572ef7e5b076d90d29f9335dcb726ef3714f Mon Sep 17 00:00:00 2001 | ||
From: xiewenxiang <[email protected]> | ||
Date: Fri, 29 Mar 2024 10:41:25 +0800 | ||
Subject: [PATCH] modify bluedroid conn timeout | ||
|
||
--- | ||
components/bt/host/bluedroid/stack/l2cap/l2c_ble.c | 11 +++++++---- | ||
1 file changed, 7 insertions(+), 4 deletions(-) | ||
|
||
diff --git a/components/bt/host/bluedroid/stack/l2cap/l2c_ble.c b/components/bt/host/bluedroid/stack/l2cap/l2c_ble.c | ||
index 4e6c8534ec..fa7a877491 100644 | ||
--- a/components/bt/host/bluedroid/stack/l2cap/l2c_ble.c | ||
|
@@ -27,13 +18,11 @@ index 4e6c8534ec..fa7a877491 100644 | |
uint32_t current_time = (esp_system_get_time()/1000); | ||
- link_timeout = (L2CAP_BLE_LINK_CONNECT_TOUT*1000 - (current_time - p_lcb->start_time_s))/1000; | ||
+ link_timeout = (bluedroid_conn_wait_time*1000 - (current_time - p_lcb->start_time_s))/1000; | ||
|
||
- if(link_timeout == 0 || link_timeout > L2CAP_BLE_LINK_CONNECT_TOUT) { | ||
- link_timeout = L2CAP_BLE_LINK_CONNECT_TOUT; | ||
+ if(link_timeout == 0 || link_timeout > bluedroid_conn_wait_time) { | ||
+ link_timeout = bluedroid_conn_wait_time; | ||
} | ||
} | ||
|
||
-- | ||
2.25.1 | ||
|
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
Oops, something went wrong.