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.

[参考译文] CC1352R:[错误报告] ZStack 样本光源 MoveBasedOnTime 错误的变量类型

Guru**** 2563960 points
Other Parts Discussed in Thread: Z-STACK

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

https://e2e.ti.com/support/wireless-connectivity/zigbee-thread-group/zigbee-and-thread/f/zigbee-thread-forum/967326/cc1352r-bug-report-zstack-sample-light-movebasedontime-wrong-variable-type

器件型号:CC1352R
Thread 中讨论的其他器件:Z-stack

您好!

我在 z-stack (4.30.00.54版)的 zcl_samplelight.c 中偶然发现了一个错误。 在1953行的 zclSampleLight_MoveBasedOnTime 中、变量"DIFF"需要为类型 uint32_t 否则、在1958行上计算'zclSampleLight_Rate32'时会出现问题。

最棒的

亚历山德罗

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

    同意您的意见、在1953行、变量'DIFF'(在 zclSampleLight_MoveBasedOnTime 中)应为 uint32_t 类型

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

    您好、Alessandro、

    感谢您的观看、我已相应地提醒软件开发团队。

    此致、
    Ryan