Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 17366

Re: How to test if i2c hardware is there without segmentation fault

$
0
0

Note: Assuming your code is like above,  where you are calling mraa init and and I2c init, MRAA should be setting this up.

 

First thing is to make sure your MRAA is up to date.  Also do you have simple program that illustrates this?

Might be interesting to try it out.  Could simply be a bug in MRAA where some init fails, so some pointer is NULL and then

someone uses pointer...

 

Kurt


Viewing all articles
Browse latest Browse all 17366

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>