Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Arduino 1.89 Teensyduino 1.46 generates warnings in NXP_SDHC.cpp here are a few -

  1. #1
    Senior Member
    Join Date
    Jan 2014
    Posts
    156

    Arduino 1.89 Teensyduino 1.46 generates warnings in NXP_SDHC.cpp here are a few -

    I don't want to muck around in libraries, especially this one. Here are a few warnings. Any suggestions?

    C:\Arduino\hardware\teensy\avr\libraries\SD\utilit y\NXP_SDHC.cpp:1180:12: warning: 'int SDHC_CMD12_StopTransfer()' defined but not used [-Wunused-function]

    static int SDHC_CMD12_StopTransfer(void)

    ^

    C:\Arduino\hardware\teensy\avr\libraries\SD\utilit y\NXP_SDHC.cpp:441:12: warning: 'int SDHC_CMD12_StopTransferWaitForBusy()' declared 'static' but never defined [-Wunused-function]

    static int SDHC_CMD12_StopTransferWaitForBusy(void);

    ^

    C:\Arduino\hardware\teensy\avr\libraries\SD\utilit y\NXP_SDHC.cpp:443:12: warning: 'int SDHC_CMD17_ReadBlock(uint32_t)' declared 'static' but never defined [-Wunused-function]

    static int SDHC_CMD17_ReadBlock(uint32_t sector);

    ^

    C:\Arduino\hardware\teensy\avr\libraries\SD\utilit y\NXP_SDHC.cpp:444:12: warning: 'int SDHC_CMD24_WriteBlock(uint32_t)' declared 'static' but never defined [-Wunused-function]

    static int SDHC_CMD24_WriteBlock(uint32_t sector);

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,686
    Where is that file " NXP_SDHC.cpp " from? Not found on my system from TeensyDuino or other libraries I have?

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,556

  4. #4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •