Ignore not supported calls to the ThunderClock+ card.

This commit is contained in:
Ivan Izaguirre 2019-10-02 23:03:00 +02:00
parent c10a6f7e8a
commit de8ee829ee
1 changed files with 2 additions and 2 deletions

View File

@ -71,11 +71,11 @@ func (m *microPD1990ac) in(clock bool, strobe bool, command uint8, dataIn bool)
func (m *microPD1990ac) out() bool {
if m.command == mpd1990commandRegHold {
panic("Output on RegHold should be a 1Hz signal. Not implemented.")
//panic("Output on RegHold should be a 1Hz signal. Not implemented.")
}
if m.command == mpd1990commandTimeRead {
panic("Output on RegHold should be a 512Hz signal with LSB. Not implemented.")
//panic("Output on RegHold should be a 512Hz signal with LSB. Not implemented.")
}
// Return the LSB of the register shift