summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2020-11-23 13:31:21 +0700
committerGitHub <[email protected]>2020-11-23 13:31:21 +0700
commitb870d932e5e1c6ece4227a5d49cc71e53a744149 (patch)
treec79838a3c016522fd19d0caa29285b1dca1f27ca /src/class
parent49f09f55d063876fcd33d21bbe30a940ac5bcf68 (diff)
parent14138f105e6fa487fa0a0ed40db6f27e1c6039fb (diff)
Merge pull request #560 from hathach/fix-559
have tusb_init() return true instead of TUSB_ERROR_NONE
Diffstat (limited to 'src/class')
-rwxr-xr-xsrc/class/bth/bth_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/bth/bth_device.c b/src/class/bth/bth_device.c
index f8215e7dd..481dc134e 100755
--- a/src/class/bth/bth_device.c
+++ b/src/class/bth/bth_device.c
@@ -249,7 +249,7 @@ bool btd_xfer_cb(uint8_t rhport, uint8_t ep_addr, xfer_result_t result, uint32_t
if (tud_bt_acl_data_sent_cb) tud_bt_acl_data_sent_cb((uint16_t)xferred_bytes);
}
- return TUSB_ERROR_NONE;
+ return true;
}
#endif