We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 830b94b commit 6e60300Copy full SHA for 6e60300
1 file changed
serial.go
@@ -148,8 +148,8 @@ func RunSerial(chclient chan bool, MyID uint32) {
148
sendbytes[17] = 0
149
}
150
} else {
151
- sendbytes[17] = byte(imageData.Image_y)
152
- prevImageY = int(imageData.Image_y)
+ sendbytes[17] = byte(int(imageData.Image_y / 10))
+ prevImageY = int(imageData.Image_y / 10)
153
zeroCountY = 0
154
155
0 commit comments