cancel
Showing results for 
Search instead for 
Did you mean: 

unable to set bit

dave4
Associate II
Posted on January 27, 2009 at 06:22

unable to set bit

12 REPLIES 12
domen2
Associate III
Posted on May 17, 2011 at 13:00

Maybe you are missing some defines in stm32f10x_conf.h ?

Like:

#define _GPIOB

#define _DMA_Channel1

jilisegiar
Associate II
Posted on May 17, 2011 at 13:00

It compiles fine for me!

dave4
Associate II
Posted on May 17, 2011 at 13:00

SOLVED

I did some moving of code blocks around, and discovered that if I moved my union statement directly after the typedefs, then this error went away. I can't explain why, but it does work, so thanks all.

Dave :)