Hi , I am trying to modify this project to adapt ATmega support.
I am having some problem with the code that I cant figure it out.
uint8_t process_read_frame() { // check disabled for space reasons // Check the SPM is ready, abort if not. if ((SPMCSR & _BV(SELFPROGEN)) != 0) { abort_twi(); return 0; }
if this function has no argument then why
case TWI_CMD_PAGEUPDATE_FRAME: if (!process_read_frame(&pageAddr)) {
Thanks.