Fixed IPC needed a delay for consecutive writes

-Removed delay at the end of ipc_send.
-Changed spi_wait to a function