I2c-compass.cpp: fix example to use char instead of uint8_t
I2c-compass.cpp: fix example to use char instead of uint8_t

Signed-off-by: Brendan Le Foll <3e0e8c4069934e8b47d99704927a85c66c0ceb33@intel.com>

timrtoo/Intel,Jon-ICS/mraa,Propanu/mraa,KurtE/mraa,allela-roy/mraa,neuberfran/mraa,g-vidal/mraa,Hbrinj/mraa,intel-iot-devkit/mraa,sergev/mraa,Meirtz/mraa,noahchense/mraa,g-vidal/mraa,matt-auld/mraa,g-vidal/mraa,malikabhi05/mraa,w4ilun/mraa,matt-auld/mraa,jontrulson/mraa,mircea/mraa,yangjae/mraa,noahchense/mraa,timrtoo/Intel,smileboywtu/mraa,stefan-andritoiu/mraa-gpio-chardev,alexandru-elisei/mraa,petreeftime/mraa,STANAPO/mraa,Propanu/mraa,Meirtz/mraa,whbruce/mraa,Kiritoalex/mraa,ncrastanaren/mraa,petreeftime/mraa,yoyojacky/mraa,sundw2014/mraa,neuroidss/mraa,alexandru-elisei/mraa,Kiritoalex/mraa,nioinnovation/mraa,intel-iot-devkit/mraa,zBMNForks/mraa,Propanu/mraa,arunlee77/mraa,jontrulson/mraa,Propanu/mraa,alex1818/mraa,neuroidss/mraa,allela-roy/mraa,pctj101/mraa,tripzero/mraa,yongli3/mraa,noahchense/mraa,neuberfran/mraa,matt-auld/mraa,spitfire88/mraa,sundw2014/mraa,mircea/mraa,tripzero/mraa,andreivasiliu2211/mraa,arunlee77/mraa,arfoll/mraa,Propanu/mraa,alext-mkrs/mraa,stefan-andritoiu/mraa-gpio-chardev,ncrastanaren/mraa,KurtE/mraa,noahchense/mraa,STANAPO/mraa,yongli3/mraa,ProfFan/mraa,intel-iot-devkit/mraa,alexandru-elisei/mraa,SyrianSpock/mraa,pctj101/mraa,mircea/mraa,arfoll/mraa,w4ilun/mraa,whbruce/mraa,damcclos/mraa,ncrastanaren/mraa,seem-sky/mraa,intel-iot-devkit/mraa,g-vidal/mraa,KurtE/mraa,yoyojacky/mraa,ProfFan/mraa,yoyojacky/mraa,Hbrinj/mraa,pctj101/mraa,timrtoo/Intel,pctj101/mraa,nioinnovation/mraa,jontrulson/mraa,alext-mkrs/mraa,SyrianSpock/mraa,timrtoo/Intel,smileboywtu/mraa,pctj101/mraa,stefan-andritoiu/mraa,seem-sky/mraa,sundw2014/mraa,seem-sky/mraa,seem-sky/mraa,spitfire88/mraa,Meirtz/mraa,zBMNForks/mraa,sundw2014/mraa,spitfire88/mraa,KurtE/mraa,damcclos/mraa,sundw2014/mraa,andreivasiliu2211/mraa,stefan-andritoiu/mraa-gpio-chardev,Pillar1989/mraa,damcclos/mraa,jontrulson/mraa,STANAPO/mraa,g-vidal/mraa,tripzero/mraa,w4ilun/mraa,arfoll/mraa,timrtoo/Intel,alexandru-elisei/mraa,arunlee77/mraa,neuberfran/mraa,andreivasiliu2211/mraa,jontrulson/mraa,Jon-ICS/mraa,anonymouse64/mraa,alex1818/mraa,petreeftime/mraa,sergev/mraa,ncrastanaren/mraa,alexandru-elisei/mraa,yangjae/mraa,petreeftime/mraa,Jon-ICS/mraa,yongli3/mraa,anonymouse64/mraa,stefan-andritoiu/mraa,arunlee77/mraa,w4ilun/mraa,stefan-andritoiu/mraa,anonymouse64/mraa,yongli3/mraa,zBMNForks/mraa,allela-roy/mraa,arfoll/mraa,ProfFan/mraa,SyrianSpock/mraa,KurtE/mraa,smileboywtu/mraa,Pillar1989/mraa,alex1818/mraa,neuberfran/mraa,Kiritoalex/mraa,sergev/mraa,neuroidss/mraa,stefan-andritoiu/mraa-gpio-chardev,seem-sky/mraa,sergev/mraa,alext-mkrs/mraa,spitfire88/mraa,alext-mkrs/mraa,malikabhi05/mraa,whbruce/mraa,Hbrinj/mraa,nioinnovation/mraa,stefan-andritoiu/mraa-gpio-chardev,stefan-andritoiu/mraa,alext-mkrs/mraa,arfoll/mraa,yongli3/mraa,neuberfran/mraa,andreivasiliu2211/mraa,malikabhi05/mraa,ncrastanaren/mraa,stefan-andritoiu/mraa,yangjae/mraa,malikabhi05/mraa,malikabhi05/mraa,yangjae/mraa,whbruce/mraa,Hbrinj/mraa,ProfFan/mraa,Pillar1989/mraa,sergev/mraa,intel-iot-devkit/mraa,noahchense/mraa