Add note regarding setRotation() & calibration
- Minor change to comments only - Indicate that calibration must be updated if `setRotation()` is called with a new orientation - Reference: https://github.com/Bodmer/TFT_eSPI/issues/365
This commit is contained in:
parent
ab5e407e2e
commit
9a9654abc7
|
|
@ -445,6 +445,9 @@ void TFT_eSPI::init(uint8_t tc)
|
||||||
/***************************************************************************************
|
/***************************************************************************************
|
||||||
** Function name: setRotation
|
** Function name: setRotation
|
||||||
** Description: rotate the screen orientation m = 0-3 or 4-7 for BMP drawing
|
** Description: rotate the screen orientation m = 0-3 or 4-7 for BMP drawing
|
||||||
|
** When using the integrated touch handler, note that calibration
|
||||||
|
** settings must be updated whenever the orientation is changed from
|
||||||
|
** the orientation used during calibration.
|
||||||
***************************************************************************************/
|
***************************************************************************************/
|
||||||
void TFT_eSPI::setRotation(uint8_t m)
|
void TFT_eSPI::setRotation(uint8_t m)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue