Commit 36b109ab authored by Alessio Igor Bogani's avatar Alessio Igor Bogani
Browse files

Changes

parent 7fe16fb6
......@@ -309,20 +309,14 @@ int main(void)
HEAD_index++;
if (HEAD_index >= 100) {
HEAD_index = 0;
Debug2++; // Notification
if (pru_rpmsg_send(&transport, dst, src, &p2udt,
sizeof(struct pru2user_data_transfer) * 100) != PRU_RPMSG_SUCCESS) {
Debug3++; // Notifications failed
} else {
HEAD_index -= 100;
}
}
#if 0
if (HEAD_index >= MAX_SRAM_SAMPLES) {
Debug3++; // Orrore!
}
#endif
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment