keyboardio / attiny_i2c_bootloader

An I2C bootloader for ATTiny devices based on AVR112.
16 stars 6 forks source link

process_read_frame too many argument. #1

Open curlyz opened 7 years ago

curlyz commented 7 years ago

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.