Skip to content

Commit

Permalink
K-1 battery fields fix
Browse files Browse the repository at this point in the history
  • Loading branch information
asalamon74 authored and msmeissn committed Jun 5, 2017
1 parent 29b1654 commit 8cdb355
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion camlibs/pentax/pslr_model.c
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,8 @@ void ipslr_status_parse_k1(ipslr_handle_t *p, pslr_status *status) {
status->lens_max_aperture.denom = get_uint32_le(&buf[0x154]);
status->manual_mode_ev = get_uint32_le(&buf[0x160]); // ?
status->focused_af_point = get_uint32_le(&buf[0x16c]); // ?
// battery fields?
status->battery_1 = get_uint32_le(&buf[0x174]);
status->battery_2 = get_uint32_le(&buf[0x178]);

// selected_af_point is invalid
status->selected_af_point = 0;
Expand Down

0 comments on commit 8cdb355

Please sign in to comment.