File tree 4 files changed +10
-5
lines changed
platform/simulator/emscripten
4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -2196,13 +2196,13 @@ struct Mio168Module : public Module {
2196
2196
} else if (diskOperationStatus == DISK_OPERATION_NOT_FINISHED) {
2197
2197
executeCommand (diskOperationParams.command );
2198
2198
}
2199
- #ifdef EEZ_PLATFORM_STM32
2200
2199
else if (tickCountMs - lastTransferTime >= TIMEOUT_UNTIL_OUT_OF_SYNC_MS) {
2200
+ #ifdef EEZ_PLATFORM_STM32
2201
2201
event_queue::pushEvent (event_queue::EVENT_ERROR_SLOT1_SYNC_ERROR + slotIndex);
2202
2202
synchronized = false ;
2203
2203
testResult = TEST_FAILED;
2204
- }
2205
2204
#endif
2205
+ }
2206
2206
else if (tickCountMs - lastRefreshTime >= getRefreshTimeMs ()) {
2207
2207
refreshStartTime = tickCountMs;
2208
2208
executeCommand (&getState_command);
Original file line number Diff line number Diff line change @@ -519,10 +519,13 @@ struct Prel6Module : public Module {
519
519
if (synchronized) {
520
520
uint32_t tickCountMs = millis ();
521
521
if (tickCountMs - lastTransferTime >= TIMEOUT_UNTIL_OUT_OF_SYNC_MS) {
522
+ #ifdef EEZ_PLATFORM_STM32
522
523
event_queue::pushEvent (event_queue::EVENT_ERROR_SLOT1_SYNC_ERROR + slotIndex);
523
524
synchronized = false ;
524
525
testResult = TEST_FAILED;
525
- } else if (tickCountMs - lastRefreshTime >= getRefreshTimeMs ()) {
526
+ #endif
527
+ }
528
+ else if (tickCountMs - lastRefreshTime >= getRefreshTimeMs ()) {
526
529
refreshStartTime = tickCountMs;
527
530
executeCommand (&getState_command);
528
531
} else if (forceTransferSetParams) {
Original file line number Diff line number Diff line change @@ -560,9 +560,11 @@ struct Smx46Module : public Module {
560
560
if (synchronized) {
561
561
uint32_t tickCountMs = millis ();
562
562
if (tickCountMs - lastTransferTime >= TIMEOUT_UNTIL_OUT_OF_SYNC_MS) {
563
+ #ifdef EEZ_PLATFORM_STM32
563
564
event_queue::pushEvent (event_queue::EVENT_ERROR_SLOT1_SYNC_ERROR + slotIndex);
564
565
synchronized = false ;
565
566
testResult = TEST_FAILED;
567
+ #endif
566
568
} else if (tickCountMs - lastRefreshTime >= getRefreshTimeMs ()) {
567
569
refreshStartTime = tickCountMs;
568
570
executeCommand (&getState_command);
Original file line number Diff line number Diff line change 35
35
< div id ="output "> </ div >
36
36
37
37
< 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 >
40
40
< a href ="http://emscripten.org " target ="_blank "> Powered by Emscripten</ a >
41
41
</ div >
42
42
</ div >
You can’t perform that action at this time.
0 commit comments