Skip to content

Conversation

majbthrd
Copy link

There are two symbol declarations with the same name:

SUBGHZ_HandleTypeDef hsubghz;

One is in ./SOFTWARE/BB-STM32WLE-WAN/Core/Src/main.cpp and the other is in ./SOFTWARE/BB-STM32WLE-WAN/Core/Src/subghz.c

Given that subghz.h has an extern definition and "hsubghz" usage is primarily in main.cpp (and this is also where the variable is initialized via MX_SUBGHZ_Init() ), I presume subghz.c is the more sensible place to remove the duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant