   }
 
   void get_next_bytes(uint8_t* data, uint8_t count) {
-    data += count;
     while (count--) {
-      *--data = get_next_byte();
+      *data++ = get_next_byte();
     }
   }
 

    Serial.println();                               \
  }

#if 1
#define DEBUG(fmt, ...)  { }
#define DEBUG_BYTES(s, p, n)  { }
#else
#define DEBUG(fmt, ...)  { Serial.print("D ");  \
    p(fmt, ## __VA_ARGS__);                     \
    Serial.println();                           \

        bool tdo = twiddler_.pulse_clock_and_read_tdo();
        tdo_byte |= tdo << j;
      }
      tdo_[byte_count - 1 - i] = tdo_byte;
    }
  }

