Member #17164

Member Since: March 24, 2007

Country: United States

  • Product WRL-08840 | about 2 years ago

    Not sure if there might be a slight bug in the ATMega examples. I’ve been looking at the slave configuration and noticed that the array initialisation is not big enough for the indexing that is later used:

    uint8_t setup[4];
    
    setup[0] = 0xa4;
    setup[1] = 0x01;
    setup[2] = 0x4b;
    setup[3] = 0x00;
    setup[4] = 0xee;
    

    It appears that setup is initialised with 4 positions yet 5 values are written.

No public wish lists :(