@@ -496,15 +496,15 @@ Adafruit_SPITFT::Adafruit_SPITFT(uint16_t w, uint16_t h, tftBusWidth busWidth,
496496/* !
497497 @brief Configure microcontroller pins for TFT interfacing. Typically
498498 called by a subclass' begin() function.
499- @param freq SPI frequency when using hardware SPI. If default (0)
500- is passed, will fall back on a device-specific value.
501- Value is ignored when using software SPI or parallel
502- connection.
503- @param mode SPI mode when using hardware SPI. MUST be one of the
504- values SPI_MODE0, SPI_MODE1, SPI_MODE2 or SPI_MODE3
505- defined in SPI.h. Do NOT attempt to pass '0' for SPI_MODE0
506- and so forth...the values are NOT the same! Use ONLY the
507- defines! (Pity it's not an enum.)
499+ @param freq SPI frequency when using hardware SPI. If default (0)
500+ is passed, will fall back on a device-specific value.
501+ Value is ignored when using software SPI or parallel
502+ connection.
503+ @param spiMode SPI mode when using hardware SPI. MUST be one of the
504+ values SPI_MODE0, SPI_MODE1, SPI_MODE2 or SPI_MODE3
505+ defined in SPI.h. Do NOT attempt to pass '0' for
506+ SPI_MODE0 and so forth...the values are NOT the same!
507+ Use ONLY the defines! (Pity it's not an enum.)
508508 @note Another anachronistically-named function; this is called even
509509 when the display connection is parallel (not SPI). Also, this
510510 could probably be made private...quite a few class functions
0 commit comments