elan: Use guint16 in LE for frame value

This commit is contained in:
Marco Trevisan (Treviño)
2026-07-01 17:49:34 +02:00
parent e821d0f83f
commit e2ff73df3f
+1 -1
View File
@@ -146,7 +146,7 @@ elan_save_frame (FpiDeviceElan *self, unsigned short *frame)
raw_idx = frame_margin + y + x * raw_height;
frame_idx = x + y * frame_width;
frame[frame_idx] =
((unsigned short *) self->last_read)[raw_idx];
GUINT16_FROM_LE (((unsigned short *) self->last_read)[raw_idx]);
}
}