Skip to main content
Visitor II
May 9, 2024
Solved

WARNING app_common.h

  • May 9, 2024
  • 2 replies
  • 1120 views

I recently create a project for a NUCLEO-WB15CC on STM32CubeMX where the output was the following:

Is there any solution for this warning?

    This topic has been closed for replies.
    Best answer by mƎALLEm

    Hello,

    In one of the files that defined that macro:

     

    #ifndef PAUSE
    #define PAUSE(t) ...

     

    But need to check which PAUSE definition you need to adopt!

    Seems that that warning is indicating PAUSE macro was defined differently in app_common.h and ble_common.h.

    You need to check.

    2 replies

    Super User
    May 9, 2024

    It's better to post the code & the messages as text - not images;

    use this button:

    AndrewNeil_0-1715276383182.png

     


    @marcos_ramos wrote:

    Is there any solution for this warning?


    Don't redefine it!

    mƎALLEmAnswer
    Technical Moderator
    May 9, 2024

    Hello,

    In one of the files that defined that macro:

     

    #ifndef PAUSE
    #define PAUSE(t) ...

     

    But need to check which PAUSE definition you need to adopt!

    Seems that that warning is indicating PAUSE macro was defined differently in app_common.h and ble_common.h.

    You need to check.