Skip to content

Commit

Permalink
https://github.com/rusefi/rusefi/issues/6781
Browse files Browse the repository at this point in the history
todo?
  • Loading branch information
rusefillc committed Aug 12, 2024
1 parent 1d09376 commit 563447e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pt2001/src/pt2001.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ void Pt2001Base::downloadRam(int target) {
start_address = 0;
codeWidthRegAddr = 0x107;
RAM_ptr = PT2001_code_RAM1;
// todo: use efi::size?
size = sizeof(PT2001_code_RAM1) / 2;
break;

Expand All @@ -249,13 +250,15 @@ void Pt2001Base::downloadRam(int target) {
start_address = 0;
codeWidthRegAddr = 0x127;
RAM_ptr = PT2001_code_RAM2;
// todo: use efi::size?
size = sizeof(PT2001_code_RAM2) / 2;
break;

case DATA_RAM: // ch1 only?
memory_area = 0x4;
start_address = 0;
RAM_ptr = PT2001_data_RAM;
// todo: use efi::size?
size = sizeof(PT2001_data_RAM) / 2;
break;
// optional, both data_rams with 0x3, writes same code to both
Expand Down

0 comments on commit 563447e

Please sign in to comment.