Hi.
Felix can i change the spi "after_cb" function during code execution
so i can call different
functions or after the spi transaction initialization the call back
function should remain fixed
the whole time?
I am writting a module and if i got this right the "after_cb" function
is really used as the "event"
function which is commonly used for the modules.
max7456_trans.after_cb = max7456_trans_cb;
where the function's prototype called back is defined like this:
static void max7456_trans_cb(struct spi_transaction *trans);
and the function definition has the "__attribute__ ((unused))" attribute:
static void max7456_trans_cb(struct spi_transaction *trans
__attribute__ ((unused))){
return;
}
Chris
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel