This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] RTOS/LAUNCHXL-CC2650:BLE 服务处理程序永远不会返回。

Guru**** 2540720 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/581550/rtos-launchxl-cc2650-ble-service-handler-never-return

器件型号:LAUNCHXL-CC2650

工具/软件:TI-RTOS

你好!

我已将此处理程序添加到 PROJECT_ZERO、我想尝试 LED 闪烁(我知道100非常小)、但它永远不会返回。

问题可能出在哪呢?

 

此致、

 

Mayer Tamás

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    尊敬的 Mayer:

    问题是您使用 uint8_t 数据类型作为循环的控制变量 j、当 j 大于10000时将退出、但由于它只有1个字节、它可以达到的最大值为255。 您需要将其更改为 uint16_t 或 uint32_t

    谢谢、
    Gerardo