Skip to content

Commit

Permalink
open dir debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffpiep committed Feb 6, 2023
1 parent e0b9151 commit e25b776
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions include/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#define FN_VERSION_MAJOR 0
#define FN_VERSION_MINOR 5

#define FN_VERSION_BUILD "a7826917"
#define FN_VERSION_BUILD "e0b91511"

#define FN_VERSION_DATE "2023-02-03 17:44:57"
#define FN_VERSION_DATE "2023-02-06 03:13:55"

#define FN_VERSION_FULL "0.5.a7826917"
#define FN_VERSION_FULL "0.5.e0b91511"
5 changes: 3 additions & 2 deletions lib/device/iwm/fuji.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1259,8 +1259,8 @@ void iwmFuji::iwm_ctrl(iwm_decoded_cmd_t cmd)
// Debug_printf("\r\nControl List is at %02x %02x", cmd.g7byte1 & 0x7f, cmd.g7byte2 & 0x7f);
data_len = 512;
IWM.iwm_read_packet_timeout(100, (uint8_t *)data_buffer, data_len);
Debug_printf("\r\nThere are %02x Odd Bytes and %02x 7-byte Groups", data_buffer[11] & 0x7f, data_buffer[12] & 0x7f);
print_packet((uint8_t *)data_buffer);
// Debug_printf("\r\nThere are %02x Odd Bytes and %02x 7-byte Groups", data_buffer[11] & 0x7f, data_buffer[12] & 0x7f);
// print_packet((uint8_t *)data_buffer, 512);

switch (control_code)
{
Expand Down Expand Up @@ -1290,6 +1290,7 @@ void iwmFuji::iwm_ctrl(iwm_decoded_cmd_t cmd)
iwm_ctrl_disk_image_mount();
break;
case FUJICMD_OPEN_DIRECTORY: // 0xF7
print_packet((uint8_t *)data_buffer, 512);
iwm_ctrl_open_directory();
break;
case FUJICMD_READ_DIR_ENTRY: // 0xF6
Expand Down

0 comments on commit e25b776

Please sign in to comment.