If you consider that the pre-processor cannot access any higher level information that requires the C compiler to have run (like enums, typedefs, variables, etc), it should make sense why it will not work as expected.


On 17/02/2014, at 11:14 pm, Mathieu <notifications@github.com> wrote:

> In source_code/src/oledmp/oledmp.c:
> 
> > +*/
> > +
> > +/**
> > + * @file OledMP Mooltipass 256x64x4 OLED display driver
> > + */
> > +
> > +#include "mooltipass.h"
> > +#include <util/delay.h>
> > +#include <avr/pgmspace.h>
> > +
> > +#include "low_level_utils.h"
> > +#include "oledmp.h"
> > +#include "bitstream.h"
> > +
> > +// Make sure the USART SPI is selected
> > +#if SPI_OLED != SPI_USART
> 
> Are you saying it works for me and not for you?
> 
> —
> Reply to this email directly or view it on GitHub.
>