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.

[参考译文] LAUNCHXL-CC1312R1:I2S

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

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1179085/launchxl-cc1312r1-i2s

器件型号:LAUNCHXL-CC1312R1

你(们)好

有人能不能帮助我 比较指针和整数('uint16_t'(又称为'unsigned short')和'void *')[-Wpointer-integer 比较]问题

uint16_t no_of 重复= 0;      //重复周期数

此致

David

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

    这是一个"c"问题、与驱动程序无关。 您是否检查过 stackoverflow.com 或类似产品?   

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

    尊敬的 David:

    我同意 GhostOf 的说法、这更像是 C 语言问题。

    您似乎正在比较一个实际 uint16_t 变量和一个 NULL 指针、因此会发出警告。
    尝试用任意数字替换 NULL。

    此致、
    Arthur