Skip to content

Commit

Permalink
Fix model name Endian for Sandisk-SunDisk drives
Browse files Browse the repository at this point in the history
  • Loading branch information
PartialVolume committed Feb 9, 2025
1 parent 051e1aa commit b21860d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/miscellaneous.c
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,22 @@ void fix_endian_model_names( char* model )
{
swap_endian_flag = 1;
}
else
{
/* Sundisk - Sandisk SSD from Sun AXI */
if( !( strncmp( model_lower_case, "usdnsi k", 8 ) ) )
{
swap_endian_flag = 1;
}
else
{
/* Sandisk */
if( !( strncmp( model_lower_case, "asdnsi k", 8 ) ) )
{
swap_endian_flag = 1;
}
}
}
}
}
}
Expand Down

0 comments on commit b21860d

Please sign in to comment.