Skip to content

Commit dea812a

Browse files
author
dave
committed
small changes before release
1 parent 057bb8d commit dea812a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/ResistiveTouchScreen.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ namespace iotouch {
7878
TouchOrientationSettings TouchScreenManager::changeOrientation(const TouchOrientationSettings &newOrientation) {
7979
auto old = orientation;
8080
orientation = newOrientation;
81+
serlogF4(SER_TCMENU_INFO, "Touch orientation (SW,XI,YI) ", orientation.isOrientationSwapped(), orientation.isXInverted(), orientation.isYInverted());
8182
return old;
8283
}
8384

src/ResistiveTouchScreen.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ namespace iotouch {
179179

180180
TouchOrientationSettings changeOrientation(const TouchOrientationSettings& newOrientation);
181181

182-
TouchOrientationSettings getRotation() { return orientation; }
182+
TouchOrientationSettings getOrientation() { return orientation; }
183183

184184
void exec() override;
185185

0 commit comments

Comments
 (0)