Skip to content

Commit adbc279

Browse files
committed
Change set_rotation parameter type from bool to int
1 parent 9071172 commit adbc279

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/remote_webview/remote_webview.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class RemoteWebView : public Component {
3131
void set_jpeg_quality(int v) { jpeg_quality_ = v; }
3232
void set_max_bytes_per_msg(int v) { max_bytes_per_msg_ = v; }
3333
void set_big_endian(bool v) { rgb565_big_endian_ = v; }
34-
void set_rotation(bool v) { rotation_ = v; }
34+
void set_rotation(int v) { rotation_ = v; }
3535
bool open_url(const std::string &s);
3636

3737
void setup() override;

0 commit comments

Comments
 (0)