Mercurial > public > ostc4
diff Discovery/Inc/gfx_engine.h @ 625:028d8f3a9410
Switch Sector / Scroll detection to vector implementation:
The vector implementation is mor robust against influences of roll and yaw to the pitch angle. To improve the performance the old sector based implementation has been replaced. In addition after entering focus state the roll angle is ignored.
To improve readability and due to removal of some no longer needed function codes, function names have been updated
author | Ideenmodellierer |
---|---|
date | Mon, 08 Feb 2021 21:35:46 +0100 |
parents | 1c95f811967c |
children | bc6c90e20d9e |
line wrap: on
line diff
--- a/Discovery/Inc/gfx_engine.h Sun Feb 07 22:05:32 2021 +0100 +++ b/Discovery/Inc/gfx_engine.h Mon Feb 08 21:35:46 2021 +0100 @@ -173,7 +173,7 @@ uint8_t releaseFrame(uint8_t callerId, uint32_t frameStartAddress); void GFX_forceReleaseFramesWithId(uint8_t callerId); void releaseAllFramesExcept(uint8_t callerId, uint32_t frameStartAddress); -void housekeepingFrame(void); +uint8_t housekeepingFrame(void); uint16_t blockedFramesCount(void); uint8_t getFrameCount(uint8_t frameId);