Adafruit-GFX-Library icon indicating copy to clipboard operation
Adafruit-GFX-Library copied to clipboard

Fix 2 recent problems with SPITFT initSPI and the destructor

Open BillyDonahue opened this issue 4 years ago • 0 comments

Fixes two problems identified by examination of PR #333. These are two separable commits in the PR.

  • Destructor is responsible for creating/destroying the active union member

  • Handle SPI_INTERFACES_COUNT==0

Deeper discussion in https://github.com/adafruit/Adafruit-GFX-Library/pull/333#discussion_r568017375 so it doesn't have to be repeated here.

BillyDonahue avatar Feb 01 '21 22:02 BillyDonahue