cancel
Showing results for 
Search instead for 
Did you mean: 

WARNING app_common.h

marcos_ramos
Associate

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

Is there any solution for this warning?

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

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.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2

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!

SofLit
ST Employee

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.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.