>> Maybe we should put serial_hw_init() also in a separate file ? ;) ;) > > That's an idea ! No it isn't!
> More seriously, since ISR aren't explicitly called, when > you import a lib with a ISR defined in it, you can't deactivate it, even > ignore it. Many different files that can be included are confusing for the user. So I would prefer to use conditional compile in stead of more files. And in combination with defaults, it is invisible for the average user but available if needed. Example: if you check if OMIT_I2C_SLAVE_ISR exists and if so, leave the isr out, you have what you require and the average user does not even have to know. And speaking of defaults: The serial lib needs a setting for rs232/spi. I think this is actual ascyn/sync. about this: - I think most users will use async/rs232 so why don't we make this default? - has anyone checked if 'spi' works? - how does this spi relate to the spi of the mssp (i2c) module? Joep --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
