We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b04c56b commit 830b94bCopy full SHA for 830b94b
1 file changed
serial.go
@@ -135,8 +135,8 @@ func RunSerial(chclient chan bool, MyID uint32) {
135
sendbytes[16] = 0
136
}
137
} else {
138
- sendbytes[16] = byte(imageData.Image_x)
139
- prevImageX = int(imageData.Image_x)
+ sendbytes[16] = byte(imageData.Image_x * 255 / 639)
+ prevImageX = int(imageData.Image_x * 255 / 639)
140
zeroCountX = 0
141
142
0 commit comments