Skip to content

Commit 563447e

Browse files
author
rusefillc
committed
https://github.com/rusefi/rusefi/issues/6781
todo?
1 parent 1d09376 commit 563447e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pt2001/src/pt2001.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ void Pt2001Base::downloadRam(int target) {
241241
start_address = 0;
242242
codeWidthRegAddr = 0x107;
243243
RAM_ptr = PT2001_code_RAM1;
244+
// todo: use efi::size?
244245
size = sizeof(PT2001_code_RAM1) / 2;
245246
break;
246247

@@ -249,13 +250,15 @@ void Pt2001Base::downloadRam(int target) {
249250
start_address = 0;
250251
codeWidthRegAddr = 0x127;
251252
RAM_ptr = PT2001_code_RAM2;
253+
// todo: use efi::size?
252254
size = sizeof(PT2001_code_RAM2) / 2;
253255
break;
254256

255257
case DATA_RAM: // ch1 only?
256258
memory_area = 0x4;
257259
start_address = 0;
258260
RAM_ptr = PT2001_data_RAM;
261+
// todo: use efi::size?
259262
size = sizeof(PT2001_data_RAM) / 2;
260263
break;
261264
// optional, both data_rams with 0x3, writes same code to both

0 commit comments

Comments
 (0)