mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
fix protocol
This commit is contained in:
parent
4658474c60
commit
cf66e28647
@ -134,7 +134,7 @@ func (info *Device) ReadJson(d []byte) error {
|
||||
}
|
||||
|
||||
switch f.Protocol {
|
||||
case 1, 2, 3, 4, 5:
|
||||
case 1, 2, 3, 4, 5, 6:
|
||||
info.Protocol = Protocol(f.Protocol)
|
||||
default:
|
||||
info.Protocol = IPad
|
||||
|
Loading…
x
Reference in New Issue
Block a user