Hi Matt,

On May 8, 4:32 pm, mattschinkel <[email protected]> wrote:
>
> -- now include the sd card lib
> const bit SD_ALWAYS_SET_SPI_MODE = TRUE
> include sd_card
>

I was suggesting that instead of the libraries looking for
SD_ALWAYS_SET_SPI_MODE, instead, have them look for a function.  like
so:

alias SD_FORCE_SPI_MODE_FUNCTION is spi_master_set_mode_00
include sd_card

and inside of sd_card, would be:

if defined(SD_FORCE_SPI_MODE_FUNCTION) == true then
   SD_FORCE_SPI_MODE_FUNCTION()
endif


Just a thought.

William

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to