From 7214a0452db5b9eeab9d50fe8ab5518322e12c3f Mon Sep 17 00:00:00 2001 From: Phillip Burgess Date: Wed, 29 May 2019 20:42:31 -0700 Subject: [PATCH] Appease the Travis --- Adafruit_GFX.h | 2 +- Adafruit_SPITFT.cpp | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Adafruit_GFX.h b/Adafruit_GFX.h index 34cfe7ef..2f2d2db4 100755 --- a/Adafruit_GFX.h +++ b/Adafruit_GFX.h @@ -127,7 +127,7 @@ class Adafruit_GFX : public Print { /*! @brief Set text font color with custom background color @param c 16-bit 5-6-5 Color to draw text with - @param b 16-bit 5-6-5 Color to draw background/fill with + @param bg 16-bit 5-6-5 Color to draw background/fill with */ /**********************************************************************/ void setTextColor(uint16_t c, uint16_t bg) { diff --git a/Adafruit_SPITFT.cpp b/Adafruit_SPITFT.cpp index db24f2ba..fcc4e086 100644 --- a/Adafruit_SPITFT.cpp +++ b/Adafruit_SPITFT.cpp @@ -496,15 +496,15 @@ Adafruit_SPITFT::Adafruit_SPITFT(uint16_t w, uint16_t h, tftBusWidth busWidth, /*! @brief Configure microcontroller pins for TFT interfacing. Typically called by a subclass' begin() function. - @param freq SPI frequency when using hardware SPI. If default (0) - is passed, will fall back on a device-specific value. - Value is ignored when using software SPI or parallel - connection. - @param mode SPI mode when using hardware SPI. MUST be one of the - values SPI_MODE0, SPI_MODE1, SPI_MODE2 or SPI_MODE3 - defined in SPI.h. Do NOT attempt to pass '0' for SPI_MODE0 - and so forth...the values are NOT the same! Use ONLY the - defines! (Pity it's not an enum.) + @param freq SPI frequency when using hardware SPI. If default (0) + is passed, will fall back on a device-specific value. + Value is ignored when using software SPI or parallel + connection. + @param spiMode SPI mode when using hardware SPI. MUST be one of the + values SPI_MODE0, SPI_MODE1, SPI_MODE2 or SPI_MODE3 + defined in SPI.h. Do NOT attempt to pass '0' for + SPI_MODE0 and so forth...the values are NOT the same! + Use ONLY the defines! (Pity it's not an enum.) @note Another anachronistically-named function; this is called even when the display connection is parallel (not SPI). Also, this could probably be made private...quite a few class functions