Skip to content

Commit 908cde3

Browse files
committed
new build of web simulator (links changed to envox.eu domain)
1 parent 8b5aa1c commit 908cde3

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

src/eez/modules/dib-mio168/dib-mio168.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -2196,13 +2196,13 @@ struct Mio168Module : public Module {
21962196
} else if (diskOperationStatus == DISK_OPERATION_NOT_FINISHED) {
21972197
executeCommand(diskOperationParams.command);
21982198
}
2199-
#ifdef EEZ_PLATFORM_STM32
22002199
else if (tickCountMs - lastTransferTime >= TIMEOUT_UNTIL_OUT_OF_SYNC_MS) {
2200+
#ifdef EEZ_PLATFORM_STM32
22012201
event_queue::pushEvent(event_queue::EVENT_ERROR_SLOT1_SYNC_ERROR + slotIndex);
22022202
synchronized = false;
22032203
testResult = TEST_FAILED;
2204-
}
22052204
#endif
2205+
}
22062206
else if (tickCountMs - lastRefreshTime >= getRefreshTimeMs()) {
22072207
refreshStartTime = tickCountMs;
22082208
executeCommand(&getState_command);

src/eez/modules/dib-prel6/dib-prel6.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -519,10 +519,13 @@ struct Prel6Module : public Module {
519519
if (synchronized) {
520520
uint32_t tickCountMs = millis();
521521
if (tickCountMs - lastTransferTime >= TIMEOUT_UNTIL_OUT_OF_SYNC_MS) {
522+
#ifdef EEZ_PLATFORM_STM32
522523
event_queue::pushEvent(event_queue::EVENT_ERROR_SLOT1_SYNC_ERROR + slotIndex);
523524
synchronized = false;
524525
testResult = TEST_FAILED;
525-
} else if (tickCountMs - lastRefreshTime >= getRefreshTimeMs()) {
526+
#endif
527+
}
528+
else if (tickCountMs - lastRefreshTime >= getRefreshTimeMs()) {
526529
refreshStartTime = tickCountMs;
527530
executeCommand(&getState_command);
528531
} else if (forceTransferSetParams) {

src/eez/modules/dib-smx46/dib-smx46.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -560,9 +560,11 @@ struct Smx46Module : public Module {
560560
if (synchronized) {
561561
uint32_t tickCountMs = millis();
562562
if (tickCountMs - lastTransferTime >= TIMEOUT_UNTIL_OUT_OF_SYNC_MS) {
563+
#ifdef EEZ_PLATFORM_STM32
563564
event_queue::pushEvent(event_queue::EVENT_ERROR_SLOT1_SYNC_ERROR + slotIndex);
564565
synchronized = false;
565566
testResult = TEST_FAILED;
567+
#endif
566568
} else if (tickCountMs - lastRefreshTime >= getRefreshTimeMs()) {
567569
refreshStartTime = tickCountMs;
568570
executeCommand(&getState_command);

src/eez/platform/simulator/emscripten/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
<div id="output"></div>
3636

3737
<div id="footer">
38-
<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>
39-
<span>Copyright (C) 2020 <a href="https://www.envox.hr" target="_blank">Envox d.o.o.</a></span>
38+
<a href="https://www.envox.eu/eez-bench-box-3/bb3-scpi-reference-manual/" target="_blank">SCPI Reference Manual</a>
39+
<span>Copyright (C) 2021 <a href="https://www.envox.eu" target="_blank">Envox d.o.o.</a></span>
4040
<a href="http://emscripten.org" target="_blank">Powered by Emscripten</a>
4141
</div>
4242
</div>

0 commit comments

Comments
 (0)