Rename enocean.c to serial.c when you use enocean.c.
