Tool/software: TI C/C++ Compiler
I have an inline function called from an ISR but the compiler still complains about it. Is that a bug in the compiler?
"../main.c", line 315: remark #1538-D: (ULP 10.1) ISR I2CISR calls function writecmd. Recommend moving function call away from ISR, or inlining the function, or using pragmas
The function is declared as
static inline unsigned char writecmd(void)
and the output map file only shows my I2CISR and writecmd is not present in the list of content of .text section.
Is it looking for a particular way to inline the function?