Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 7 months ago.
Error: Expected an identifier in "extras/mbed"
Hello, I have an entirely mystifying issue in an external library, http://developer.mbed.org/users/Christilut/code/nRF24L01P_Maniacbug/. It throws the line Error: Expected an identifier in "extras/mbed_487b796308b0/TARGET_KL25Z/MKL25Z4.h", Line: 3200, Col: 17, which doesn't make sense.
1 Answer
9 years, 6 months ago.
I just found the issue :
There is in the library a line : "#define STATUS 0x07" in "nRF24L01P_Maniacbug.h"
but it already exists in "MKL25Z4.h",
you just have to rename it "RF_STATUS" in the .H and the .CPP of the library not to be disturbed anymore,
it works fine for me so far.