stmhal: Fix bug with pin GPIO reading.
stmhal: Fix bug with pin GPIO reading.

danicampora/micropython,redbear/micropython,mgyenik/micropython,hosaka/micropython,suda/micropython,vitiral/micropython,supergis/micropython,xuxiaoxin/micropython,mgyenik/micropython,aethaniel/micropython,alex-march/micropython,alex-robbins/micropython,dinau/micropython,adafruit/micropython,warner83/micropython,pramasoul/micropython,dinau/micropython,chrisdearman/micropython,Timmenem/micropython,cloudformdesign/micropython,rubencabrera/micropython,slzatz/micropython,hiway/micropython,henriknelson/micropython,pramasoul/micropython,blazewicz/micropython,matthewelse/micropython,vriera/micropython,chrisdearman/micropython,ganshun666/micropython,Timmenem/micropython,warner83/micropython,henriknelson/micropython,oopy/micropython,blmorris/micropython,AriZuu/micropython,toolmacher/micropython,ernesto-g/micropython,mhoffma/micropython,martinribelotta/micropython,aethaniel/micropython,Peetz0r/micropython-esp32,adamkh/micropython,rubencabrera/micropython,emfcamp/micropython,EcmaXp/micropython,noahchense/micropython,xyb/micropython,PappaPeppar/micropython,selste/micropython,slzatz/micropython,bvernoux/micropython,lowRISC/micropython,martinribelotta/micropython,mianos/micropython,slzatz/micropython,martinribelotta/micropython,ruffy91/micropython,ernesto-g/micropython,jlillest/micropython,Timmenem/micropython,jimkmc/micropython,cwyark/micropython,matthewelse/micropython,matthewelse/micropython,PappaPeppar/micropython,toolmacher/micropython,MrSurly/micropython,blazewicz/micropython,xyb/micropython,methoxid/micropystat,cloudformdesign/micropython,tdautc19841202/micropython,neilh10/micropython,cloudformdesign/micropython,rubencabrera/micropython,praemdonck/micropython,Vogtinator/micropython,jlillest/micropython,pfalcon/micropython,misterdanb/micropython,hiway/micropython,xhat/micropython,paul-xxx/micropython,vitiral/micropython,swegener/micropython,dhylands/micropython,turbinenreiter/micropython,adafruit/micropython,drrk/micropython,mgyenik/micropython,ericsnowcurrently/micropython,firstval/micropython,ericsnowcurrently/micropython,selste/micropython,mianos/micropython,xyb/micropython,ruffy91/micropython,praemdonck/micropython,micropython/micropython-esp32,dinau/micropython,tdautc19841202/micropython,omtinez/micropython,infinnovation/micropython,tobbad/micropython,jimkmc/micropython,torwag/micropython,trezor/micropython,pramasoul/micropython,jlillest/micropython,puuu/micropython,mianos/micropython,MrSurly/micropython,hosaka/micropython,ernesto-g/micropython,TDAbboud/micropython,HenrikSolver/micropython,xhat/micropython,tobbad/micropython,adafruit/micropython,praemdonck/micropython,tuc-osg/micropython,warner83/micropython,ahotam/micropython,kostyll/micropython,xuxiaoxin/micropython,micropython/micropython-esp32,neilh10/micropython,heisewangluo/micropython,jlillest/micropython,mpalomer/micropython,kostyll/micropython,lbattraw/micropython,hiway/micropython,dxxb/micropython,MrSurly/micropython-esp32,ceramos/micropython,dinau/micropython,noahchense/micropython,redbear/micropython,Peetz0r/micropython-esp32,jmarcelino/pycom-micropython,aethaniel/micropython,turbinenreiter/micropython,noahchense/micropython,lbattraw/micropython,tuc-osg/micropython,neilh10/micropython,noahwilliamsson/micropython,MrSurly/micropython-esp32,MrSurly/micropython,adamkh/micropython,deshipu/micropython,orionrobots/micropython,cwyark/micropython,ernesto-g/micropython,blmorris/micropython,infinnovation/micropython,omtinez/micropython,jmarcelino/pycom-micropython,methoxid/micropystat,xhat/micropython,ahotam/micropython,mpalomer/micropython,tobbad/micropython,dxxb/micropython,SungEun-Steve-Kim/test-mp,Vogtinator/micropython,xyb/micropython,rubencabrera/micropython,alex-march/micropython,orionrobots/micropython,lowRISC/micropython,mhoffma/micropython,vriera/micropython,cnoviello/micropython,adafruit/circuitpython,ganshun666/micropython,aethaniel/micropython,hosaka/micropython,neilh10/micropython,dmazzella/micropython,matthewelse/micropython,pfalcon/micropython,omtinez/micropython,mhoffma/micropython,stonegithubs/micropython,EcmaXp/micropython,noahwilliamsson/micropython,lowRISC/micropython,stonegithubs/micropython,deshipu/micropython,pozetroninc/micropython,KISSMonX/micropython,methoxid/micropystat,warner83/micropython,ceramos/micropython,oopy/micropython,xyb/micropython,drrk/micropython,redbear/micropython,dmazzella/micropython,suda/micropython,adafruit/micropython,utopiaprince/micropython,xuxiaoxin/micropython,adafruit/circuitpython,TDAbboud/micropython,bvernoux/micropython,matthewelse/micropython,pozetroninc/micropython,chrisdearman/micropython,lbattraw/micropython,tralamazza/micropython,toolmacher/micropython,mianos/micropython,puuu/micropython,rubencabrera/micropython,cloudformdesign/micropython,selste/micropython,SHA2017-badge/micropython-esp32,ericsnowcurrently/micropython,torwag/micropython,ChuckM/micropython,ryannathans/micropython,ryannathans/micropython,xhat/micropython,KISSMonX/micropython,EcmaXp/micropython,methoxid/micropystat,xuxiaoxin/micropython,tdautc19841202/micropython,skybird6672/micropython,ruffy91/micropython,alex-march/micropython,MrSurly/micropython-esp32,torwag/micropython,danicampora/micropython,Vogtinator/micropython,adamkh/micropython,noahwilliamsson/micropython,praemdonck/micropython,adamkh/micropython,MrSurly/micropython-esp32,slzatz/micropython,puuu/micropython,ceramos/micropython,TDAbboud/micropython,tuc-osg/micropython,feilongfl/micropython,cwyark/micropython,ruffy91/micropython,xuxiaoxin/micropython,feilongfl/micropython,adafruit/circuitpython,suda/micropython,trezor/micropython,SHA2017-badge/micropython-esp32,suda/micropython,lowRISC/micropython,pozetroninc/micropython,micropython/micropython-esp32,PappaPeppar/micropython,hiway/micropython,emfcamp/micropython,mpalomer/micropython,alex-robbins/micropython,utopiaprince/micropython,PappaPeppar/micropython,trezor/micropython,ganshun666/micropython,galenhz/micropython,supergis/micropython,orionrobots/micropython,firstval/micropython,mpalomer/micropython,infinnovation/micropython,turbinenreiter/micropython,Peetz0r/micropython-esp32,swegener/micropython,ChuckM/micropython,turbinenreiter/micropython,lbattraw/micropython,toolmacher/micropython,cwyark/micropython,oopy/micropython,tdautc19841202/micropython,omtinez/micropython,drrk/micropython,kerneltask/micropython,misterdanb/micropython,torwag/micropython,warner83/micropython,KISSMonX/micropython,SHA2017-badge/micropython-esp32,tralamazza/micropython,ChuckM/micropython,SungEun-Steve-Kim/test-mp,deshipu/micropython,redbear/micropython,paul-xxx/micropython,cwyark/micropython,ericsnowcurrently/micropython,vitiral/micropython,pfalcon/micropython,hiway/micropython,heisewangluo/micropython,AriZuu/micropython,pramasoul/micropython,EcmaXp/micropython,KISSMonX/micropython,utopiaprince/micropython,cloudformdesign/micropython,AriZuu/micropython,tuc-osg/micropython,blazewicz/micropython,infinnovation/micropython,utopiaprince/micropython,HenrikSolver/micropython,omtinez/micropython,cnoviello/micropython,HenrikSolver/micropython,swegener/micropython,EcmaXp/micropython,ahotam/micropython,chrisdearman/micropython,tobbad/micropython,dxxb/micropython,misterdanb/micropython,SungEun-Steve-Kim/test-mp,micropython/micropython-esp32,paul-xxx/micropython,alex-robbins/micropython,mianos/micropython,jimkmc/micropython,dmazzella/micropython,trezor/micropython,supergis/micropython,xhat/micropython,ruffy91/micropython,ChuckM/micropython,alex-robbins/micropython,pramasoul/micropython,blazewicz/micropython,chrisdearman/micropython,kerneltask/micropython,ryannathans/micropython,torwag/micropython,vriera/micropython,alex-march/micropython,martinribelotta/micropython,misterdanb/micropython,methoxid/micropystat,misterdanb/micropython,supergis/micropython,blazewicz/micropython,kerneltask/micropython,AriZuu/micropython,martinribelotta/micropython,dhylands/micropython,jimkmc/micropython,selste/micropython,oopy/micropython,stonegithubs/micropython,hosaka/micropython,neilh10/micropython,henriknelson/micropython,jmarcelino/pycom-micropython,puuu/micropython,ahotam/micropython,emfcamp/micropython,ganshun666/micropython,paul-xxx/micropython,vitiral/micropython,ryannathans/micropython,pfalcon/micropython,mhoffma/micropython,ganshun666/micropython,heisewangluo/micropython,micropython/micropython-esp32,SungEun-Steve-Kim/test-mp,tdautc19841202/micropython,alex-robbins/micropython,firstval/micropython,henriknelson/micropython,kostyll/micropython,hosaka/micropython,HenrikSolver/micropython,ernesto-g/micropython,galenhz/micropython,bvernoux/micropython,skybird6672/micropython,dxxb/micropython,deshipu/micropython,skybird6672/micropython,trezor/micropython,SHA2017-badge/micropython-esp32,jmarcelino/pycom-micropython,pfalcon/micropython,utopiaprince/micropython,skybird6672/micropython,dinau/micropython,cnoviello/micropython,drrk/micropython,kostyll/micropython,PappaPeppar/micropython,Peetz0r/micropython-esp32,aethaniel/micropython,tuc-osg/micropython,jlillest/micropython,ericsnowcurrently/micropython,ceramos/micropython,galenhz/micropython,stonegithubs/micropython,noahwilliamsson/micropython,swegener/micropython,tralamazza/micropython,vitiral/micropython,vriera/micropython,adafruit/micropython,turbinenreiter/micropython,stonegithubs/micropython,orionrobots/micropython,jimkmc/micropython,MrSurly/micropython,ceramos/micropython,mpalomer/micropython,matthewelse/micropython,noahchense/micropython,danicampora/micropython,lbattraw/micropython,lowRISC/micropython,selste/micropython,skybird6672/micropython,mhoffma/micropython,AriZuu/micropython,praemdonck/micropython,heisewangluo/micropython,emfcamp/micropython,Vogtinator/micropython,ryannathans/micropython,noahchense/micropython,cnoviello/micropython,galenhz/micropython,deshipu/micropython,kerneltask/micropython,dhylands/micropython,SungEun-Steve-Kim/test-mp,feilongfl/micropython,bvernoux/micropython,tobbad/micropython,MrSurly/micropython-esp32,ChuckM/micropython,danicampora/micropython,slzatz/micropython,heisewangluo/micropython,blmorris/micropython,pozetroninc/micropython,orionrobots/micropython,Vogtinator/micropython,dmazzella/micropython,kostyll/micropython,emfcamp/micropython,alex-march/micropython,supergis/micropython,mgyenik/micropython,HenrikSolver/micropython,bvernoux/micropython,puuu/micropython,toolmacher/micropython,pozetroninc/micropython,noahwilliamsson/micropython,dxxb/micropython,adafruit/circuitpython,ahotam/micropython,dhylands/micropython,infinnovation/micropython,paul-xxx/micropython,blmorris/micropython,vriera/micropython,Peetz0r/micropython-esp32,adafruit/circuitpython,tralamazza/micropython,feilongfl/micropython,oopy/micropython,KISSMonX/micropython,kerneltask/micropython,galenhz/micropython,drrk/micropython,redbear/micropython,adafruit/circuitpython,swegener/micropython,SHA2017-badge/micropython-esp32,danicampora/micropython,Timmenem/micropython,feilongfl/micropython,Timmenem/micropython,adamkh/micropython,firstval/micropython,firstval/micropython,blmorris/micropython,suda/micropython,MrSurly/micropython,jmarcelino/pycom-micropython,cnoviello/micropython,TDAbboud/micropython,TDAbboud/micropython,dhylands/micropython,henriknelson/micropython,mgyenik/micropython