This commit is contained in:
suyl
2021-07-12 15:00:08 +08:00
parent 98d26c4c45
commit 9a2ef79491

View File

@@ -484,8 +484,8 @@ func replaceContent(content string, printMsg *model.PrintMsg) (result string) {
allLen = "0" + allLen
}
//soundLenH, soundLenX := int2h8l8(int64((len(realSound) + len("0101")) / 2))
soundLenH := "34"
soundLenX := "00"
soundLenH := "00"
soundLenX := "34"
result = strings.ReplaceAll(result, byteSignSound, hexSignSound+allLen+"fd"+soundLenH+soundLenX+"0100"+hexPrefixStr)
}
}