mirror of
https://github.com/ivanizag/izapple2.git
synced 2024-06-12 20:29:45 +00:00
Ignore not implemented set time.
This commit is contained in:
parent
00e4476e86
commit
b930cf5fd6
|
@ -1,7 +1,6 @@
|
|||
package apple2
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
@ -56,7 +55,8 @@ func (m *microPD1990ac) in(clock bool, strobe bool, command uint8, dataIn bool)
|
|||
case mpd1990commandTimeRead:
|
||||
m.loadTime()
|
||||
default:
|
||||
panic(fmt.Sprintf("PD1990ac command %v not implemented.", m.command))
|
||||
// Ignore unknown commands (like set time)
|
||||
//panic(fmt.Sprintf("PD1990ac command %v not implemented.", m.command))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user