changed control logic for when spi shift regs receive new data