GB_SPI_STATE_MSG_DONE
msg->state = GB_SPI_STATE_MSG_DONE;
while (msg->state != GB_SPI_STATE_MSG_DONE &&