Skip to content

Commit

Permalink
Merge pull request #210 from FiorixF1/hv_flip
Browse files Browse the repository at this point in the history
Fixing inverted V flip and H flip
  • Loading branch information
ligenxxxx authored Aug 3, 2024
2 parents 57460d5 + 3764fd5 commit 9bb296d
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 9bb296d

Please sign in to comment.