diff options
| Commit | da6899d1edc04c2dd5fe0ab783d3dc82c916818b (patch) | |
|---|---|---|
| Author | 2024-05-28 16:16:14 +0300 | |
| Committer | 2024-05-28 16:16:14 +0300 | |
| Files | 9368ae57441a3ed0e01ca4943dcefe8b1640050e | |
| uni-projects-da6899d1edc04c2dd5fe0ab783d3dc82c916818b.tar uni-projects-da6899d1edc04c2dd5fe0ab783d3dc82c916818b.tar.gz uni-projects-da6899d1edc04c2dd5fe0ab783d3dc82c916818b.zip | ||
| Parent | 7d6e365c22cae06502778edd58551562622462c9 (diff) | |
[iot/goam] Moved nocamera icon after press after the camera has set resolution
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) { |
