Skip to content

Commit

Permalink
new build of web simulator (links changed to envox.eu domain)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Mar 7, 2021
1 parent 8b5aa1c commit 908cde3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/eez/modules/dib-mio168/dib-mio168.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2196,13 +2196,13 @@ struct Mio168Module : public Module {
} else if (diskOperationStatus == DISK_OPERATION_NOT_FINISHED) {
executeCommand(diskOperationParams.command);
}
#ifdef EEZ_PLATFORM_STM32
else if (tickCountMs - lastTransferTime >= TIMEOUT_UNTIL_OUT_OF_SYNC_MS) {
#ifdef EEZ_PLATFORM_STM32
event_queue::pushEvent(event_queue::EVENT_ERROR_SLOT1_SYNC_ERROR + slotIndex);
synchronized = false;
testResult = TEST_FAILED;
}
#endif
}
else if (tickCountMs - lastRefreshTime >= getRefreshTimeMs()) {
refreshStartTime = tickCountMs;
executeCommand(&getState_command);
Expand Down
5 changes: 4 additions & 1 deletion src/eez/modules/dib-prel6/dib-prel6.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -519,10 +519,13 @@ struct Prel6Module : public Module {
if (synchronized) {
uint32_t tickCountMs = millis();
if (tickCountMs - lastTransferTime >= TIMEOUT_UNTIL_OUT_OF_SYNC_MS) {
#ifdef EEZ_PLATFORM_STM32
event_queue::pushEvent(event_queue::EVENT_ERROR_SLOT1_SYNC_ERROR + slotIndex);
synchronized = false;
testResult = TEST_FAILED;
} else if (tickCountMs - lastRefreshTime >= getRefreshTimeMs()) {
#endif
}
else if (tickCountMs - lastRefreshTime >= getRefreshTimeMs()) {
refreshStartTime = tickCountMs;
executeCommand(&getState_command);
} else if (forceTransferSetParams) {
Expand Down
2 changes: 2 additions & 0 deletions src/eez/modules/dib-smx46/dib-smx46.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -560,9 +560,11 @@ struct Smx46Module : public Module {
if (synchronized) {
uint32_t tickCountMs = millis();
if (tickCountMs - lastTransferTime >= TIMEOUT_UNTIL_OUT_OF_SYNC_MS) {
#ifdef EEZ_PLATFORM_STM32
event_queue::pushEvent(event_queue::EVENT_ERROR_SLOT1_SYNC_ERROR + slotIndex);
synchronized = false;
testResult = TEST_FAILED;
#endif
} else if (tickCountMs - lastRefreshTime >= getRefreshTimeMs()) {
refreshStartTime = tickCountMs;
executeCommand(&getState_command);
Expand Down
4 changes: 2 additions & 2 deletions src/eez/platform/simulator/emscripten/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
<div id="output"></div>

<div id="footer">
<a href="https://www.envox.hr/eez/eez-bench-box-3/bb3-scpi-reference-manual/bb3-scpi-introduction.html" target="_blank">SCPI Reference Manual</a>
<span>Copyright (C) 2020 <a href="https://www.envox.hr" target="_blank">Envox d.o.o.</a></span>
<a href="https://www.envox.eu/eez-bench-box-3/bb3-scpi-reference-manual/" target="_blank">SCPI Reference Manual</a>
<span>Copyright (C) 2021 <a href="https://www.envox.eu" target="_blank">Envox d.o.o.</a></span>
<a href="http://emscripten.org" target="_blank">Powered by Emscripten</a>
</div>
</div>
Expand Down

0 comments on commit 908cde3

Please sign in to comment.