Skip to main content
TGodo.1
Associate
June 12, 2023
Question

two identical projects generated by ST Cube, one accepts accepts the static storage class , the other gives and error "invalid storage class for function...." "static void MX_I2C2_Init(void);"

..

This topic has been closed for replies.

1 reply

TDK
June 12, 2023

You probably have mismatched brackets.

Clearly they're not identical.

"If you feel a post has answered your question, please click ""Accept as Solution""."