Sorry, has taken me time to get back to this problem, once I make the suggested change the error I got previously no longer appears when I compile the code. I now get other issues but that appears to be due to board differences.
@TE-KarlKomierowski Thank your reply. The senor is https://learn.adafruit.com/nxp-precision-9dof-breakout/overview, and I can run the basic application supplied for this board. However I am now trying to run the AHS code, and have start with the function "Adafruit_Sensor_Calibration.h". which is where I get this error.
I am trying to run some example code for an NXP sensor on spresense, it will compile for a Arduino board with out erros, but when I try for Sprensence I get the following error:
*\AppData\Local\Arduino15\packages\SPRESENSE\tools\spresense-sdk\1.0.0/spresense/release/nuttx/include/stdio.h:93:22: error: expected unqualified-id before 'void'
#define rewind(s) ((void)fseek((s),0,SEEK_SET))
Any comments please of this if is an error in my code or and issue with the stdio.h file?