dergraaf/avr-can-lib — pull request #4 by erazor83 (2013-09-26 07:58:47+00:00)
Title: added a warning in bundled config.h / support for can_config.h

The warning should be usefull because in my opinion the user should
create it's own config.h before compiling.

Whenever he forgets to add the correct include path the compiler may
still use the bundled default config.h - so a warning would be
usefull.

Another point is, that I'm not compiling any kind of library. I'm
directly including the files. I've already other modules with their
own config like modbus_config.h and so on. Thus it'd make sense to
change the config filename of avr-can-lib to something like
can_config.h .

If the makro HAS_CAN_CONFIG_H is defined, the compiler will use the
file can_config.h instead of config.h .