
30 Sep
2010
30 Sep
'10
5:04 p.m.
Hello.
Peter Tyser wrote:
+#ifdef I2C_ADDR_IGNORE_LIST
- unsigned char i2c_ignore_list[] = I2C_ADDR_IGNORE_LIST;
This array is aking to be *static*...
... and *const* as well ?
I'll add 'const' in the next version, but I'm not sure if the 'static' adds any benefit since its a local variable.
Have you considered the amount of code needed for non-static array initialization?
WBR, Sergei