mirror of
https://github.com/adafruit/Adafruit-GFX-Library.git
synced 2024-10-03 18:18:46 -04:00
Change transaction & CS ordering
This commit is contained in:
parent
efe87d81ef
commit
b8fd9b4366
@ -821,8 +821,8 @@ void Adafruit_SPITFT::initSPI(uint32_t freq) {
|
||||
for all display types; not an SPI-specific function.
|
||||
*/
|
||||
void Adafruit_SPITFT::startWrite(void) {
|
||||
if(_cs >= 0) SPI_CS_LOW();
|
||||
SPI_BEGIN_TRANSACTION();
|
||||
if(_cs >= 0) SPI_CS_LOW();
|
||||
}
|
||||
|
||||
/*!
|
||||
@ -832,8 +832,8 @@ void Adafruit_SPITFT::startWrite(void) {
|
||||
for all display types; not an SPI-specific function.
|
||||
*/
|
||||
void Adafruit_SPITFT::endWrite(void) {
|
||||
SPI_END_TRANSACTION();
|
||||
if(_cs >= 0) SPI_CS_HIGH();
|
||||
SPI_END_TRANSACTION();
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
name=Adafruit GFX Library
|
||||
version=1.4.3
|
||||
version=1.4.4
|
||||
author=Adafruit
|
||||
maintainer=Adafruit <info@adafruit.com>
|
||||
sentence=Adafruit GFX graphics core library, this is the 'core' class that all our other graphics libraries derive from.
|
||||
|
Loading…
x
Reference in New Issue
Block a user