This commit is contained in:
suyl
2021-07-12 14:53:56 +08:00
parent a888d04200
commit 98d26c4c45

View File

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