Skip to content

Commit

Permalink
Merge pull request #36 from lnxbil/header-fix-for-non-arduino
Browse files Browse the repository at this point in the history
Merge Change - Header should work also on non-Arduino ENVs - #36 @Inxbil
  • Loading branch information
TMRh20 committed Jan 6, 2015
2 parents ed05223 + 5a22075 commit dd7d04b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions RF24Network_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
#ifndef __RF24_CONFIG_H__
#define __RF24_CONFIG_H__

#if ARDUINO < 100
#include <WProgram.h>
#else
#include <Arduino.h>
#if defined (ARDUINO)
#if ARDUINO < 100
#include <WProgram.h>
#else
#include <Arduino.h>
#endif
#endif

#include <stddef.h>
Expand Down

0 comments on commit dd7d04b

Please sign in to comment.