diff --git a/Learn/Simple Libraries/Misc/libpatch/cmm/libpatch.a b/Learn/Simple Libraries/Misc/libpatch/cmm/libpatch.a index 446eaa5d..fa320d00 100644 Binary files a/Learn/Simple Libraries/Misc/libpatch/cmm/libpatch.a and b/Learn/Simple Libraries/Misc/libpatch/cmm/libpatch.a differ diff --git a/Learn/Simple Libraries/Misc/libpatch/libpatch.c b/Learn/Simple Libraries/Misc/libpatch/libpatch.c index 7a8a9de7..11042d7e 100644 --- a/Learn/Simple Libraries/Misc/libpatch/libpatch.c +++ b/Learn/Simple Libraries/Misc/libpatch/libpatch.c @@ -12,6 +12,7 @@ #include "simpletools.h" #include "ping.h" +#include "simplei2c.h" int main() { diff --git a/Learn/Simple Libraries/Misc/libpatch/patch.c b/Learn/Simple Libraries/Misc/libpatch/patch.c index f0819b84..35a9bae1 100644 --- a/Learn/Simple Libraries/Misc/libpatch/patch.c +++ b/Learn/Simple Libraries/Misc/libpatch/patch.c @@ -3,5 +3,7 @@ void patch360forBlockly(void) { pause(1); + st_eeprom = i2c_newbus(28, 29, 0); + st_eeInitFlag = 1; } diff --git a/Learn/Simple Libraries/Robotics/ActivityBot360/libabdrive360/abdrive360.c b/Learn/Simple Libraries/Robotics/ActivityBot360/libabdrive360/abdrive360.c index 0d0d6f6d..c3b312dd 100644 --- a/Learn/Simple Libraries/Robotics/ActivityBot360/libabdrive360/abdrive360.c +++ b/Learn/Simple Libraries/Robotics/ActivityBot360/libabdrive360/abdrive360.c @@ -35,16 +35,10 @@ volatile int abd360_rampStepGoto = ABD_GOTO_RAMP_STEP; volatile int abd360_gotoMode = ABD360_GOTO_BLOCK; -i2c *simplei2c_temp; - - void drive_init(void) { - patch360forBlockly(); - st_eeprom = i2c_newbus(28, 29, 0); - st_eeInitFlag = 1; - + abdrive360_getEepromPins(); int result, flag = 0; diff --git a/Learn/Simple Libraries/Robotics/ActivityBot360/libabdrive360/cmm/libabdrive360.a b/Learn/Simple Libraries/Robotics/ActivityBot360/libabdrive360/cmm/libabdrive360.a index c8282db9..bfe8581b 100644 Binary files a/Learn/Simple Libraries/Robotics/ActivityBot360/libabdrive360/cmm/libabdrive360.a and b/Learn/Simple Libraries/Robotics/ActivityBot360/libabdrive360/cmm/libabdrive360.a differ diff --git a/version.txt b/version.txt index 2dc4063b..2f8dfc4e 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v1.4.9 +v1.4.10