Change w and h in device_writer.cc
This commit is contained in:
parent
7f6effebbb
commit
4614a64dc9
|
@ -328,8 +328,8 @@ DeviceWriter::img_params_t DeviceWriter::LoadImgParams(
|
||||||
|
|
||||||
img_params_t params;
|
img_params_t params;
|
||||||
if (fs["in_left"].isNone()) {
|
if (fs["in_left"].isNone()) {
|
||||||
std::uint16_t w = 752;
|
std::uint16_t w = 640;
|
||||||
std::uint16_t h = 480;
|
std::uint16_t h = 400;
|
||||||
std::uint8_t m = 0;
|
std::uint8_t m = 0;
|
||||||
if (!fs["width"].isNone())
|
if (!fs["width"].isNone())
|
||||||
w = static_cast<int>(fs["width"]);
|
w = static_cast<int>(fs["width"]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user