Skip to content

Commit

Permalink
Pentax K20d fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Graf2242 committed Jul 2, 2024
1 parent 0b9024c commit fce41ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libpktriggercord/src/pslr_model.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ void ipslr_status_parse_k20d(ipslr_handle_t *p, pslr_status *status) {
status->lens_max_aperture.nom = get_uint32_be(&buf[0x148]);
status->lens_max_aperture.denom = get_uint32_be(&buf[0x14B]);
status->focused_af_point = get_uint32_be(&buf[0x160]); // unsure about it, a lot is changing when the camera focuses
status->battery_1 = get_uint32_be(&buf[0x168]); // unsure about it
status->zoom.nom = get_uint32_be(&buf[0x180]);
status->zoom.denom = get_uint32_be(&buf[0x184]);
status->focus = get_int32_be(&buf[0x188]); // current focus ring position?
Expand Down

0 comments on commit fce41ac

Please sign in to comment.