Dependents:   OBROT_ALL

Revision:
4:82a00eee7eb5
Parent:
3:dd113546dfd1
--- a/OBROT.cpp	Thu Oct 15 08:28:13 2015 +0000
+++ b/OBROT.cpp	Fri Nov 13 08:15:50 2015 +0000
@@ -37,7 +37,7 @@
 };
 
 OBROT::OBROT(){
-    mI2CDevice = new I2CDevice*[ mNumOfI2CDevice ];
+    mI2CDevice = new I2CDevice*[ getNumOfI2CDevices() ];
     
     I2CDevice::createI2C();