Skip to content

Commit

Permalink
Fixing inverted V flip and H flip
Browse files Browse the repository at this point in the history
  • Loading branch information
FiorixF1 committed Aug 2, 2024
1 parent 57460d5 commit 3764fd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runcam.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,9 @@ void runcam_hv_flip(uint8_t val) {
else if (val == 1) // hv flip
RUNCAM_Read_Write(camera_device, 0x000040, 0x002effa9);
else if (val == 2) // v flip
RUNCAM_Read_Write(camera_device, 0x000040, 0x002affa9);
else if (val == 3) // h flip
RUNCAM_Read_Write(camera_device, 0x000040, 0x0026ffa9);
else if (val == 3) // h flip
RUNCAM_Read_Write(camera_device, 0x000040, 0x002affa9);
#ifdef _DEBUG_RUNCAM
debugf("\r\nRUNCAM hvFlip:%02x", (uint16_t)val);
#endif
Expand Down

0 comments on commit 3764fd5

Please sign in to comment.