Skip to content

Commit

Permalink
Remove use of BBB definition from file.
Browse files Browse the repository at this point in the history
  • Loading branch information
modmaker committed Aug 10, 2013
1 parent dba91d0 commit bc10024
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions beaglebone.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@
#include <sched.h>

/* Where to find the BeBoPr's EEPROM: */
#ifdef BBB
#define EEPROM_PATH "/sys/class/i2c-adapter/i2c-1/1-0054/eeprom"
#else
#define EEPROM_PATH "/sys/class/i2c-adapter/i2c-3/3-0054/eeprom"
#endif
#define EEPROM_PATH ( (get_kernel_type() == e_kernel_3_8) ? \
"/sys/class/i2c-adapter/i2c-1/1-0054/eeprom" : \
"/sys/class/i2c-adapter/i2c-3/3-0054/eeprom" )

/*
* Posix defines priorities from 0 upto 99.
Expand Down

0 comments on commit bc10024

Please sign in to comment.