diff options
1 files changed, 2 insertions, 1 deletions
| -rw-r--r-- | Year 3/Internet of things/goam/main/main.c | 3 |
diff --git a/Year 3/Internet of things/goam/main/main.c b/Year 3/Internet of things/goam/main/main.c index c582dd1..35088f3 100644 --- a/Year 3/Internet of things/goam/main/main.c +++ b/Year 3/Internet of things/goam/main/main.c @@ -168,11 +168,12 @@ static void debug_serial_print_image(const char* image, size_t length) { } static void take_photo() { + ptc06_set_image_resolution((enum Resolution)res); + display_printat(DCHAR_NO_CAMERA, CONFIG_DISPLAY_ICONS_ROW, CONFIG_CAMERA_COLUMN); - ptc06_set_image_resolution((enum Resolution)res); char* image; size_t length = ptc06_get_image(&image); if (is != WS_ONLY) { |
