Skip to content

Commit ec7c715

Browse files
author
dave
committed
release 4.0 and small fixes
1 parent 6ef3dc7 commit ec7c715

3 files changed

Lines changed: 7 additions & 9 deletions

File tree

xmlPlugins/core-display/ArduinoTouchLibraryIntegration.xml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,15 @@
3232
desc="The library level touch rotation as provided to setRotation - XPT only" whenProperty="TOUCH_LIBRARY" isValue="XPT2046_Touchscreen"/>
3333

3434
<Property id="ORIENTATION_SEPARATOR" name="%core.touch.orientation" initial="" desc="%core.touch.orientation.desc" type="separator"/>
35-
<Property id="LIB_TOUCH_SWAP_XY" name="%core.touch.swap.xy" initial="false" whenProperty="TOUCH_SCREEN_REQUIRED" isValue="true"
36-
desc="%core.touch.swap.xy.desc" type="boolean" />
37-
<Property id="LIB_TOUCH_X_INVERTED" name="%core.touch.x.inverted" initial="false" whenProperty="TOUCH_SCREEN_REQUIRED" isValue="true"
38-
type="boolean" desc="%core.touch.x.inverted.desc"/>
39-
<Property id="LIB_TOUCH_Y_INVERTED" name="%core.touch.y.inverted" initial="false" whenProperty="TOUCH_SCREEN_REQUIRED" isValue="true"
40-
type="boolean" desc="%core.touch.y.inverted.desc"/>
35+
<Property id="LIB_TOUCH_SWAP_XY" name="%core.touch.swap.xy" initial="false" desc="%core.touch.swap.xy.desc" type="boolean" />
36+
<Property id="LIB_TOUCH_X_INVERTED" name="%core.touch.x.inverted" initial="false" type="boolean" desc="%core.touch.x.inverted.desc"/>
37+
<Property id="LIB_TOUCH_Y_INVERTED" name="%core.touch.y.inverted" initial="false" type="boolean" desc="%core.touch.y.inverted.desc"/>
4138

4239
<Property id="CALIB_SEPARATOR" name="%core.touch.calibration" initial="" desc="%core.touch.calibration.desc" type="separator"/>
4340
<Property id="TOUCH_SCREEN_CALIBRATE" name="%core.enable.touch.calib" initial="true"
44-
desc="%core.enable.touch.calib.desc" type="boolean" whenProperty="TOUCH_SCREEN_REQUIRED" isValue="true" />
41+
desc="%core.enable.touch.calib.desc" type="boolean" />
4542
<Property id="TOUCH_CALIBRATION_STORAGE_LOC" name="%core.touch.calib.addr" initial="400" type="int"
46-
desc="%core.touch.calib.addr.desc" min="4" max="65535" whenProperty="TOUCH_SCREEN_REQUIRED" isValue="true" />
43+
desc="%core.touch.calib.addr.desc" min="4" max="65535" />
4744
</Properties>
4845

4946
<ApplicabilityDefs/>

xmlPlugins/core-display/adaGfxDisplay.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
<SourceFiles>
3232
<Replacement find="#define DISPLAY_HAS_MEMBUFFER (true|false)" replace="#define DISPLAY_HAS_MEMBUFFER ${DISPLAY_BUFFERED}"/>
3333
<Replacement find="Adafruit_ILI9341" replace="${DISPLAY_TYPE}"/>
34+
<Replacement find="Adafruit_ILI9341" replace="${DISPLAY_TYPE}"/>
3435
<SourceFile name="adaGfxDriver/tcMenuAdaFruitGfxMono.cpp" whenProperty="DISPLAY_BUFFERED" isValue="true"/>
3536
<SourceFile name="adaGfxDriver/tcMenuAdaFruitGfxMono.h" whenProperty="DISPLAY_BUFFERED" isValue="true"/>
3637
<SourceFile name="adaGfxDriver/tcMenuAdaFruitGfx.cpp" whenProperty="DISPLAY_BUFFERED" isValue="false"/>

xmlPlugins/core-display/adaGfxDriver/tcMenuAdaFruitGfxMono.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ using namespace tcgfx;
2121

2222
void AdafruitDrawable::transaction(bool isStarting, bool redrawNeeded) {
2323
if(!isStarting && redrawNeeded) {
24-
reinterpret_cast<Adafruit_PCD8544*>(graphics)->display();
24+
reinterpret_cast<Adafruit_ILI9341*>(graphics)->display();
2525
}
2626
}
2727

0 commit comments

Comments
 (0)