New answers tagged

2 votes

Multiple definition error in STM32CubeIDE

If you want global variable accessible from everywhere you include global.h, you'll need declaration of that variable in header (declatation only): // globals.h: extern uint8_t vol[8]; Anywhere else ...
KIIV's user avatar
  • 4,592

Top 50 recent answers are included