variables not initialized
Posted: 04 May 2013, 19:51 PM
I think there is a problem in new compiler. Long time ago I made a mistake in a program. Not even a bug, simply forgot "const", but since I never assigned anything to that it worked just fine. After using new compiler program started behaving erratically. Here is what I found in zbTempDir
source:
public ThrottleReverse as boolean = true
compiled with 4.0.2:
uint8_t zv_ThrottleReverse = ZB_TRUE;
compiled with 4.1.5:
uint8_t zv_ThrottleReverse;
source:
public ThrottleReverse as boolean = true
compiled with 4.0.2:
uint8_t zv_ThrottleReverse = ZB_TRUE;
compiled with 4.1.5:
uint8_t zv_ThrottleReverse;