Skip to content

Commit

Permalink
土星端扩展存储卡支持
Browse files Browse the repository at this point in the history
  • Loading branch information
tpunix committed Jan 17, 2024
1 parent 5addbe4 commit e800891
Show file tree
Hide file tree
Showing 3 changed files with 376 additions and 118 deletions.
1 change: 1 addition & 0 deletions Firm_MCU/Saturn/saturn_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ int flush_smems(int flag)
if(d>=0 && d<64){
memcpy32((u8*)SMEMS_BUF+d*1024, (u8*)SMEMS_HDR+8192, 1024);
}
printk("\nflush_smems: flag=%02x s0=%04x s1=%04x d=%d\n", flag, sm_index0, sm_index1, d);

if(flag&1){
printk("Flush SMEMS header.\n");
Expand Down
Loading

0 comments on commit e800891

Please sign in to comment.