Skip to content

Commit 6c9e62c

Browse files
authored
fix: add missing MethodDone calls to FlashProxy in integration tests (#683)
Add missing method done calls
1 parent 976e6d4 commit 6c9e62c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

integration_test/logic/Flash.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,18 +126,23 @@ namespace application
126126
--transferBuffers;
127127
if (transferBuffers == 0 && readingBuffer.empty())
128128
onDone();
129+
130+
MethodDone();
129131
}
130132

131133
void FlashProxy::WriteDone()
132134
{
133135
--transferBuffers;
134136
if (transferBuffers == 0 && writingBuffer.empty())
135137
onDone();
138+
139+
MethodDone();
136140
}
137141

138142
void FlashProxy::EraseSectorsDone()
139143
{
140144
onDone();
145+
MethodDone();
141146
}
142147

143148
void FlashProxy::ReadPartialBuffer(uint32_t address, uint32_t start)

0 commit comments

Comments
 (0)