File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -433,11 +433,13 @@ std::vector<uint8_t> iwmDevice::create_dib_reply_packet(const std::string& devic
433433void IRAM_ATTR iwmBus::service ()
434434{
435435 // process smartport before diskII
436+ #ifndef DEV_RELAY_SLIP
436437 if (!serviceSmartPort ())
437438 serviceDiskII ();
438439
439- #ifndef DEV_RELAY_SLIP
440440 serviceDiskIIWrite ();
441+ #else
442+ serviceSmartPort ();
441443#endif
442444}
443445
@@ -548,10 +550,10 @@ bool IRAM_ATTR iwmBus::serviceSmartPort()
548550 return true ;
549551}
550552
553+ #ifndef DEV_RELAY_SLIP
551554// Returns true if Disk II was handled
552555bool IRAM_ATTR iwmBus::serviceDiskII ()
553556{
554- #ifndef DEV_RELAY_SLIP
555557 // check on the diskii status
556558 switch (iwm_drive_enabled ())
557559 {
@@ -595,12 +597,10 @@ bool IRAM_ATTR iwmBus::serviceDiskII()
595597 iwm_ack_deassert ();
596598 break ;
597599 }
598- #endif /* !SLIP */
599600
600601 return true ;
601602}
602603
603- #ifndef DEV_RELAY_SLIP
604604// Returns true if a Disk II write was received
605605bool IRAM_ATTR iwmBus::serviceDiskIIWrite ()
606606{
You can’t perform that action at this time.
0 commit comments