Migrate to TouchGFX 4.22.0

This commit is contained in:
2023-07-24 18:54:12 +02:00
parent 61729b302c
commit 90b55ffa1c
1032 changed files with 1754 additions and 111124 deletions

View File

@ -2,7 +2,7 @@
* Copyright (c) 2018(-2023) STMicroelectronics.
* All rights reserved.
*
* This file is part of the TouchGFX 4.21.2 distribution.
* This file is part of the TouchGFX 4.22.0 distribution.
*
* This software is licensed under terms that can be found in the LICENSE file in
* the root directory of this software component.
@ -164,7 +164,7 @@ void VideoWidget::readVideoInformation()
VideoController::getInstance().getVideoInformation(handle, &videoInformation);
videoWidth = (int16_t)videoInformation.frame_width;
videoHeight = (int16_t)videoInformation.frame_height;
uint32_t videoFramesIn1000ms = 1000 / videoInformation.ms_between_frames;
const uint32_t videoFramesIn1000ms = 1000 / videoInformation.ms_between_frames;
setFrameRate(60, videoFramesIn1000ms);
}