Fix display picture for nextion display (#3018)

This commit is contained in:
Lubos Horacek 2022-01-10 02:08:38 +01:00 committed by GitHub
parent 6383eca54a
commit 7217a4f7a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -171,7 +171,7 @@ void Nextion::set_component_coordinates(const char *component, int x, int y) {
// Drawing
void Nextion::display_picture(int picture_id, int x_start, int y_start) {
this->add_no_result_to_queue_with_printf_("display_picture", "pic %d %d %d", x_start, y_start, picture_id);
this->add_no_result_to_queue_with_printf_("display_picture", "pic %d, %d, %d", x_start, y_start, picture_id);
}
void Nextion::fill_area(int x1, int y1, int width, int height, const char *color) {