fixed for eiger 4 bit

This commit is contained in:
maliakal_d 2021-08-16 16:59:54 +02:00
parent cb22321006
commit 75b992ed07

View File

@ -2340,7 +2340,7 @@ void *start_timer(void *arg) {
if (dr == 4) { if (dr == 4) {
npixels /= 2; npixels /= 2;
} }
LOG(logINFOBLUE, LOG(logDBUG1,
("pixels:%d pixelsperpacket:%d\n", npixels, pixelsPerPacket)); ("pixels:%d pixelsperpacket:%d\n", npixels, pixelsPerPacket));
for (int i = 0; i < npixels; ++i) { for (int i = 0; i < npixels; ++i) {
if (i > 0 && i % pixelsPerPacket == 0) { if (i > 0 && i % pixelsPerPacket == 0) {