I have programs that use the onboard SD card. When I updated to Arduino 1.89 Teensy 1.46 the compilor generates numerous warnings of unused variables.
So I tried to compile the Cardinfo sketch in examples. It compiles without warnings on Arduino 1.88 Teensy 1.45. But on Arduino 1.89 Teensy 1.46 numerous warnings are generated.
One example is
/Applications/Arduino 1.8.9.app/Contents/Java/hardware/teensy/avr/libraries/SD/utility/NXP_SDHC.cpp: In function 'int SDHC_CardReadBlock(void*, uint32_t)':
/Applications/Arduino 1.8.9.app/Contents/Java/hardware/teensy/avr/libraries/SD/utility/NXP_SDHC.cpp:583:13: warning: unused variable 'pData' [-Wunused-variable]
uint32_t* pData = (uint32_t*)buff;
I am working on a MAC if that makes any difference.
Any ideas?
Fred
So I tried to compile the Cardinfo sketch in examples. It compiles without warnings on Arduino 1.88 Teensy 1.45. But on Arduino 1.89 Teensy 1.46 numerous warnings are generated.
One example is
/Applications/Arduino 1.8.9.app/Contents/Java/hardware/teensy/avr/libraries/SD/utility/NXP_SDHC.cpp: In function 'int SDHC_CardReadBlock(void*, uint32_t)':
/Applications/Arduino 1.8.9.app/Contents/Java/hardware/teensy/avr/libraries/SD/utility/NXP_SDHC.cpp:583:13: warning: unused variable 'pData' [-Wunused-variable]
uint32_t* pData = (uint32_t*)buff;
I am working on a MAC if that makes any difference.
Any ideas?
Fred