Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

"#112-D statement is unreachable" warning

$
0
0

I'm running a fully updated CCS 6.1.2.00015 and a MSP432 project. I'm far from a good programmer and am modifying an old MSP430 project I found here for my project.

 

I get this warning during compile and then while debugging the code seems to get stuck and throws a "error: cannot load from non-primitive location". I'm not sure if they're related but I can't seem to find any help for either of them. I've attached the project files.

 

If anyone has any helpful advice on how to solve these I would greatly appreciate the help!

 

Thanks,

George

 

Chees_Error.png Attached File  MyADC14_v2.c   3.06KB   5 downloadsAttached File  PhotoDiode_Sensor.c   1.69KB   1 downloadsAttached File  PhotoDiode_Sensor.h   195bytes   1 downloads


Viewing all articles
Browse latest Browse all 2077

Trending Articles