Check if INT2 is actually defined before issuing warning in detachInterrupt
Check if INT2 is actually defined before issuing warning in detachInterrupt

This was caused after: https://github.com/arduino/Arduino/pull/3221

ThoughtWorksIoTGurgaon/Arduino,wdoganowski/Arduino,laylthe/Arduino,adafruit/ESP8266-Arduino,steamboating/Arduino,Chris--A/Arduino,zaiexx/Arduino,steamboating/Arduino,chaveiro/Arduino,PeterVH/Arduino,koltegirish/Arduino,tskurauskas/Arduino,cscenter/Arduino,zenmanenergy/Arduino,adamkh/Arduino,Chris--A/Arduino,ari-analytics/Arduino,majenkotech/Arduino,tommyli2014/Arduino,shiitakeo/Arduino,paulmand3l/Arduino,superboonie/Arduino,gberl001/Arduino,lukeWal/Arduino,Cloudino/Cloudino-Arduino-IDE,mattvenn/Arduino,ricklon/Arduino,steamboating/Arduino,eddyst/Arduino-SourceCode,bigjosh/Arduino,wdoganowski/Arduino,fungxu/Arduino,mangelajo/Arduino,weera00/Arduino,NeuralSpaz/Arduino,eddyst/Arduino-SourceCode,jabezGit/Arduino,wayoda/Arduino,tommyli2014/Arduino,Gourav2906/Arduino,tommyli2014/Arduino,vbextreme/Arduino,vbextreme/Arduino,karlitxo/Arduino,noahchense/Arduino-1,Protoneer/Arduino,Gourav2906/Arduino,Cloudino/Cloudino-Arduino-IDE,gberl001/Arduino,raimohanska/Arduino,jaehong/Xmegaduino,Protoneer/Arduino,zaiexx/Arduino,sanyaade-iot/Arduino-1,fungxu/Arduino,eduardocasarin/Arduino,tskurauskas/Arduino,lulufei/Arduino,jaimemaretoli/Arduino,KlaasDeNys/Arduino,wilhelmryan/Arduino,noahchense/Arduino-1,drpjk/Arduino,tannewt/Arduino,cscenter/Arduino,talhaburak/Arduino,acosinwork/Arduino,mateuszdw/Arduino,fungxu/Arduino,ricklon/Arduino,bigjosh/Arduino,wayoda/Arduino,eddyst/Arduino-SourceCode,niggor/Arduino_cc,ektor5/Arduino,gberl001/Arduino,mateuszdw/Arduino,Chris--A/Arduino,superboonie/Arduino,adamkh/Arduino,paulo-raca/ESP8266-Arduino,eduardocasarin/Arduino,danielchalef/Arduino,andyvand/Arduino-1,NaSymbol/Arduino,aichi/Arduino-2,adamkh/Arduino,danielchalef/Arduino,NicoHood/Arduino,gonium/Arduino,vbextreme/Arduino,ari-analytics/Arduino,eggfly/arduino,NeuralSpaz/Arduino,tskurauskas/Arduino,adafruit/ESP8266-Arduino,wilhelmryan/Arduino,shiitakeo/Arduino,nandojve/Arduino,OpenDevice/Arduino,onovy/Arduino,mateuszdw/Arduino,lulufei/Arduino,zederson/Arduino,kidswong999/Arduino,aichi/Arduino-2,nkolban/Arduino,NaSymbol/Arduino,acosinwork/Arduino,wilhelmryan/Arduino,laylthe/Arduino,wdoganowski/Arduino,stevemayhew/Arduino,Alfredynho/AgroSis,noahchense/Arduino-1,Cloudino/Arduino,xxxajk/Arduino-1,leftbrainstrain/Arduino-ESP8266,karlitxo/Arduino,radut/Arduino,eduardocasarin/Arduino,niggor/Arduino_cc,spapadim/Arduino,laylthe/Arduino,snargledorf/Arduino,ThoughtWorksIoTGurgaon/Arduino,Cloudino/Cloudino-Arduino-IDE,me-no-dev/Arduino-1,eddyst/Arduino-SourceCode,sanyaade-iot/Arduino-1,paulo-raca/ESP8266-Arduino,stickbreaker/Arduino,smily77/Arduino,tbowmo/Arduino,byran/Arduino,eddyst/Arduino-SourceCode,radut/Arduino,PaoloP74/Arduino,wdoganowski/Arduino,talhaburak/Arduino,eduardocasarin/Arduino,spapadim/Arduino,byran/Arduino,garci66/Arduino,garci66/Arduino,eggfly/arduino,myrtleTree33/Arduino,leftbrainstrain/Arduino-ESP8266,ntruchsess/Arduino-1,pdNor/Arduino,drpjk/Arduino,ccoenen/Arduino,nkolban/Arduino,smily77/Arduino,KlaasDeNys/Arduino,adafruit/ESP8266-Arduino,fungxu/Arduino,koltegirish/Arduino,eggfly/arduino,aichi/Arduino-2,me-no-dev/Arduino-1,smily77/Arduino,leftbrainstrain/Arduino-ESP8266,henningpohl/Arduino,Cloudino/Cloudino-Arduino-IDE,wdoganowski/Arduino,jaehong/Xmegaduino,bsmr-arduino/Arduino,PaoloP74/Arduino,gonium/Arduino,gestrem/Arduino,cscenter/Arduino,nkolban/Arduino,zederson/Arduino,tskurauskas/Arduino,tommyli2014/Arduino,shannonshsu/Arduino,EmuxEvans/Arduino,zenmanenergy/Arduino,koltegirish/Arduino,wilhelmryan/Arduino,ForestNymph/Arduino_sources,myrtleTree33/Arduino,Gourav2906/Arduino,eddyst/Arduino-SourceCode,gberl001/Arduino,jabezGit/Arduino,arunkuttiyara/Arduino,Cloudino/Arduino,tskurauskas/Arduino,garci66/Arduino,pdNor/Arduino,arunkuttiyara/Arduino,ari-analytics/Arduino,xxxajk/Arduino-1,shannonshsu/Arduino,ForestNymph/Arduino_sources,noahchense/Arduino-1,jamesrob4/Arduino,ntruchsess/Arduino-1,ikbelkirasan/Arduino,jmgonzalez00449/Arduino,KlaasDeNys/Arduino,stickbreaker/Arduino,nkolban/Arduino,me-no-dev/Arduino-1,ari-analytics/Arduino,mangelajo/Arduino,mateuszdw/Arduino,tannewt/Arduino,jaehong/Xmegaduino,bigjosh/Arduino,talhaburak/Arduino,paulmand3l/Arduino,NaSymbol/Arduino,tomkrus007/Arduino,kidswong999/Arduino,zaiexx/Arduino,Alfredynho/AgroSis,HCastano/Arduino,lulufei/Arduino,noahchense/Arduino-1,paulmand3l/Arduino,wayoda/Arduino,pdNor/Arduino,majenkotech/Arduino,zenmanenergy/Arduino,ashwin713/Arduino,EmuxEvans/Arduino,stevemayhew/Arduino,ikbelkirasan/Arduino,jomolinare/Arduino,ashwin713/Arduino,adafruit/ESP8266-Arduino,spapadim/Arduino,Protoneer/Arduino,stickbreaker/Arduino,acosinwork/Arduino,eggfly/arduino,ricklon/Arduino,paulo-raca/ESP8266-Arduino,zederson/Arduino,me-no-dev/Arduino-1,byran/Arduino,gonium/Arduino,onovy/Arduino,ashwin713/Arduino,PaoloP74/Arduino,karlitxo/Arduino,damellis/Arduino,onovy/Arduino,tbowmo/Arduino,ektor5/Arduino,spapadim/Arduino,NeuralSpaz/Arduino,raimohanska/Arduino,spapadim/Arduino,wayoda/Arduino,arunkuttiyara/Arduino,leftbrainstrain/Arduino-ESP8266,garci66/Arduino,OpenDevice/Arduino,OpenDevice/Arduino,tbowmo/Arduino,danielchalef/Arduino,Cloudino/Arduino,ogahara/Arduino,me-no-dev/Arduino-1,acosinwork/Arduino,NicoHood/Arduino,adamkh/Arduino,vbextreme/Arduino,sanyaade-iot/Arduino-1,byran/Arduino,majenkotech/Arduino,superboonie/Arduino,lukeWal/Arduino,wilhelmryan/Arduino,shiitakeo/Arduino,wayoda/Arduino,arunkuttiyara/Arduino,mangelajo/Arduino,acosinwork/Arduino,jaehong/Xmegaduino,mattvenn/Arduino,aichi/Arduino-2,tomkrus007/Arduino,mattvenn/Arduino,ssvs111/Arduino,damellis/Arduino,Alfredynho/AgroSis,NicoHood/Arduino,KlaasDeNys/Arduino,byran/Arduino,paulo-raca/ESP8266-Arduino,Gourav2906/Arduino,wdoganowski/Arduino,wilhelmryan/Arduino,damellis/Arduino,ektor5/Arduino,jaehong/Xmegaduino,jabezGit/Arduino,henningpohl/Arduino,vbextreme/Arduino,eeijcea/Arduino-1,ricklon/Arduino,jomolinare/Arduino,ikbelkirasan/Arduino,ashwin713/Arduino,jaimemaretoli/Arduino,tskurauskas/Arduino,jmgonzalez00449/Arduino,smily77/Arduino,ikbelkirasan/Arduino,lukeWal/Arduino,tbowmo/Arduino,mateuszdw/Arduino,chaveiro/Arduino,henningpohl/Arduino,ThoughtWorksIoTGurgaon/Arduino,niggor/Arduino_cc,shannonshsu/Arduino,sanyaade-iot/Arduino-1,superboonie/Arduino,Alfredynho/AgroSis,radut/Arduino,jabezGit/Arduino,nandojve/Arduino,zenmanenergy/Arduino,HCastano/Arduino,eddyst/Arduino-SourceCode,stevemayhew/Arduino,pdNor/Arduino,NaSymbol/Arduino,raimohanska/Arduino,kidswong999/Arduino,tskurauskas/Arduino,PaoloP74/Arduino,gestrem/Arduino,cscenter/Arduino,wilhelmryan/Arduino,weera00/Arduino,zaiexx/Arduino,jaimemaretoli/Arduino,ari-analytics/Arduino,nandojve/Arduino,OpenDevice/Arduino,NicoHood/Arduino,henningpohl/Arduino,drpjk/Arduino,tomkrus007/Arduino,PaoloP74/Arduino,gestrem/Arduino,ntruchsess/Arduino-1,snargledorf/Arduino,chaveiro/Arduino,talhaburak/Arduino,Alfredynho/AgroSis,shiitakeo/Arduino,acosinwork/Arduino,arunkuttiyara/Arduino,pdNor/Arduino,tomkrus007/Arduino,ntruchsess/Arduino-1,lukeWal/Arduino,laylthe/Arduino,bigjosh/Arduino,PaoloP74/Arduino,tbowmo/Arduino,bsmr-arduino/Arduino,karlitxo/Arduino,nkolban/Arduino,xxxajk/Arduino-1,eduardocasarin/Arduino,garci66/Arduino,NaSymbol/Arduino,sanyaade-iot/Arduino-1,jmgonzalez00449/Arduino,tomkrus007/Arduino,ogferreiro/Arduino,arunkuttiyara/Arduino,zederson/Arduino,superboonie/Arduino,talhaburak/Arduino,zenmanenergy/Arduino,danielchalef/Arduino,paulmand3l/Arduino,sanyaade-iot/Arduino-1,ogferreiro/Arduino,gonium/Arduino,gestrem/Arduino,zaiexx/Arduino,jamesrob4/Arduino,zenmanenergy/Arduino,mattvenn/Arduino,wayoda/Arduino,mangelajo/Arduino,ikbelkirasan/Arduino,ForestNymph/Arduino_sources,Gourav2906/Arduino,shiitakeo/Arduino,koltegirish/Arduino,HCastano/Arduino,drpjk/Arduino,zederson/Arduino,lukeWal/Arduino,Cloudino/Cloudino-Arduino-IDE,HCastano/Arduino,jabezGit/Arduino,tbowmo/Arduino,bsmr-arduino/Arduino,gonium/Arduino,Protoneer/Arduino,andyvand/Arduino-1,stickbreaker/Arduino,mangelajo/Arduino,nandojve/Arduino,lulufei/Arduino,Cloudino/Arduino,fungxu/Arduino,jomolinare/Arduino,shannonshsu/Arduino,laylthe/Arduino,Alfredynho/AgroSis,lulufei/Arduino,KlaasDeNys/Arduino,zenmanenergy/Arduino,gberl001/Arduino,NeuralSpaz/Arduino,tomkrus007/Arduino,majenkotech/Arduino,niggor/Arduino_cc,xxxajk/Arduino-1,mateuszdw/Arduino,gestrem/Arduino,adafruit/ESP8266-Arduino,byran/Arduino,jaehong/Xmegaduino,ccoenen/Arduino,jomolinare/Arduino,ThoughtWorksIoTGurgaon/Arduino,NeuralSpaz/Arduino,koltegirish/Arduino,drpjk/Arduino,tbowmo/Arduino,nandojve/Arduino,ccoenen/Arduino,chaveiro/Arduino,NicoHood/Arduino,ccoenen/Arduino,gonium/Arduino,lukeWal/Arduino,EmuxEvans/Arduino,Chris--A/Arduino,onovy/Arduino,eeijcea/Arduino-1,weera00/Arduino,ikbelkirasan/Arduino,onovy/Arduino,henningpohl/Arduino,steamboating/Arduino,bigjosh/Arduino,lulufei/Arduino,shannonshsu/Arduino,kidswong999/Arduino,snargledorf/Arduino,stevemayhew/Arduino,steamboating/Arduino,jaehong/Xmegaduino,jmgonzalez00449/Arduino,tommyli2014/Arduino,tbowmo/Arduino,eggfly/arduino,zaiexx/Arduino,ogahara/Arduino,Cloudino/Arduino,aichi/Arduino-2,bsmr-arduino/Arduino,ssvs111/Arduino,byran/Arduino,garci66/Arduino,myrtleTree33/Arduino,shannonshsu/Arduino,karlitxo/Arduino,ogahara/Arduino,adamkh/Arduino,myrtleTree33/Arduino,jaimemaretoli/Arduino,mangelajo/Arduino,tskurauskas/Arduino,damellis/Arduino,Protoneer/Arduino,paulo-raca/ESP8266-Arduino,KlaasDeNys/Arduino,stickbreaker/Arduino,ssvs111/Arduino,smily77/Arduino,vbextreme/Arduino,ogahara/Arduino,jamesrob4/Arduino,jmgonzalez00449/Arduino,bsmr-arduino/Arduino,ashwin713/Arduino,eduardocasarin/Arduino,bsmr-arduino/Arduino,ogahara/Arduino,eduardocasarin/Arduino,gberl001/Arduino,xxxajk/Arduino-1,eeijcea/Arduino-1,KlaasDeNys/Arduino,ThoughtWorksIoTGurgaon/Arduino,spapadim/Arduino,paulmand3l/Arduino,henningpohl/Arduino,ForestNymph/Arduino_sources,arunkuttiyara/Arduino,spapadim/Arduino,raimohanska/Arduino,shiitakeo/Arduino,cscenter/Arduino,tannewt/Arduino,zaiexx/Arduino,ForestNymph/Arduino_sources,garci66/Arduino,vbextreme/Arduino,henningpohl/Arduino,andyvand/Arduino-1,tommyli2014/Arduino,ricklon/Arduino,nandojve/Arduino,radut/Arduino,drpjk/Arduino,bigjosh/Arduino,jamesrob4/Arduino,jabezGit/Arduino,stevemayhew/Arduino,xxxajk/Arduino-1,ssvs111/Arduino,chaveiro/Arduino,Cloudino/Arduino,tannewt/Arduino,pdNor/Arduino,Gourav2906/Arduino,gberl001/Arduino,ntruchsess/Arduino-1,wdoganowski/Arduino,lukeWal/Arduino,gonium/Arduino,shannonshsu/Arduino,superboonie/Arduino,tannewt/Arduino,eeijcea/Arduino-1,Chris--A/Arduino,mangelajo/Arduino,ikbelkirasan/Arduino,raimohanska/Arduino,chaveiro/Arduino,snargledorf/Arduino,ari-analytics/Arduino,paulo-raca/ESP8266-Arduino,jabezGit/Arduino,talhaburak/Arduino,PeterVH/Arduino,fungxu/Arduino,ogferreiro/Arduino,smily77/Arduino,ccoenen/Arduino,adamkh/Arduino,radut/Arduino,eeijcea/Arduino-1,superboonie/Arduino,ogahara/Arduino,myrtleTree33/Arduino,jmgonzalez00449/Arduino,Protoneer/Arduino,xxxajk/Arduino-1,aichi/Arduino-2,tommyli2014/Arduino,KlaasDeNys/Arduino,jaimemaretoli/Arduino,weera00/Arduino,niggor/Arduino_cc,PeterVH/Arduino,eeijcea/Arduino-1,jaimemaretoli/Arduino,NeuralSpaz/Arduino,myrtleTree33/Arduino,leftbrainstrain/Arduino-ESP8266,majenkotech/Arduino,niggor/Arduino_cc,noahchense/Arduino-1,ashwin713/Arduino,pdNor/Arduino,OpenDevice/Arduino,me-no-dev/Arduino-1,jamesrob4/Arduino,wayoda/Arduino,danielchalef/Arduino,stevemayhew/Arduino,leftbrainstrain/Arduino-ESP8266,andyvand/Arduino-1,weera00/Arduino,myrtleTree33/Arduino,PaoloP74/Arduino,damellis/Arduino,Gourav2906/Arduino,ari-analytics/Arduino,drpjk/Arduino,nkolban/Arduino,majenkotech/Arduino,bigjosh/Arduino,eddyst/Arduino-SourceCode,onovy/Arduino,pdNor/Arduino,jomolinare/Arduino,superboonie/Arduino,Chris--A/Arduino,ektor5/Arduino,koltegirish/Arduino,jaimemaretoli/Arduino,kidswong999/Arduino,ogahara/Arduino,PeterVH/Arduino,OpenDevice/Arduino,gestrem/Arduino,mattvenn/Arduino,karlitxo/Arduino,ogferreiro/Arduino,jabezGit/Arduino,ashwin713/Arduino,laylthe/Arduino,ogferreiro/Arduino,adafruit/ESP8266-Arduino,NicoHood/Arduino,raimohanska/Arduino,eeijcea/Arduino-1,lukeWal/Arduino,NaSymbol/Arduino,EmuxEvans/Arduino,adamkh/Arduino,mateuszdw/Arduino,Gourav2906/Arduino,kidswong999/Arduino,tannewt/Arduino,andyvand/Arduino-1,koltegirish/Arduino,HCastano/Arduino,leftbrainstrain/Arduino-ESP8266,ccoenen/Arduino,aichi/Arduino-2,laylthe/Arduino,fungxu/Arduino,niggor/Arduino_cc,stevemayhew/Arduino,ogferreiro/Arduino,niggor/Arduino_cc,lulufei/Arduino,garci66/Arduino,stickbreaker/Arduino,NaSymbol/Arduino,eggfly/arduino,HCastano/Arduino,HCastano/Arduino,Chris--A/Arduino,nandojve/Arduino,talhaburak/Arduino,ssvs111/Arduino,raimohanska/Arduino,snargledorf/Arduino,ThoughtWorksIoTGurgaon/Arduino,Cloudino/Cloudino-Arduino-IDE,niggor/Arduino_cc,jmgonzalez00449/Arduino,bsmr-arduino/Arduino,majenkotech/Arduino,bigjosh/Arduino,PeterVH/Arduino,paulo-raca/ESP8266-Arduino,shannonshsu/Arduino,NicoHood/Arduino,radut/Arduino,kidswong999/Arduino,ektor5/Arduino,Cloudino/Arduino,EmuxEvans/Arduino,ccoenen/Arduino,nandojve/Arduino,ThoughtWorksIoTGurgaon/Arduino,tomkrus007/Arduino,ricklon/Arduino,ntruchsess/Arduino-1,ari-analytics/Arduino,andyvand/Arduino-1,HCastano/Arduino,stevemayhew/Arduino,andyvand/Arduino-1,jmgonzalez00449/Arduino,danielchalef/Arduino,adamkh/Arduino,zaiexx/Arduino,ashwin713/Arduino,bsmr-arduino/Arduino,eggfly/arduino,ogferreiro/Arduino,tomkrus007/Arduino,sanyaade-iot/Arduino-1,zederson/Arduino,snargledorf/Arduino,danielchalef/Arduino,eggfly/arduino,adafruit/ESP8266-Arduino,damellis/Arduino,chaveiro/Arduino,PeterVH/Arduino,smily77/Arduino,ntruchsess/Arduino-1,paulmand3l/Arduino,weera00/Arduino,Chris--A/Arduino,jomolinare/Arduino,kidswong999/Arduino,EmuxEvans/Arduino,ForestNymph/Arduino_sources,ricklon/Arduino,NaSymbol/Arduino,damellis/Arduino,PeterVH/Arduino,talhaburak/Arduino,onovy/Arduino,NeuralSpaz/Arduino,acosinwork/Arduino,mattvenn/Arduino,ektor5/Arduino,cscenter/Arduino,jamesrob4/Arduino,ssvs111/Arduino,Cloudino/Cloudino-Arduino-IDE,vbextreme/Arduino,Protoneer/Arduino,steamboating/Arduino,stickbreaker/Arduino,me-no-dev/Arduino-1,PaoloP74/Arduino,Alfredynho/AgroSis,steamboating/Arduino,OpenDevice/Arduino,jomolinare/Arduino,noahchense/Arduino-1,weera00/Arduino,radut/Arduino,paulmand3l/Arduino,nkolban/Arduino,karlitxo/Arduino,byran/Arduino,ForestNymph/Arduino_sources,ssvs111/Arduino,cscenter/Arduino,snargledorf/Arduino,jaimemaretoli/Arduino,mattvenn/Arduino,wayoda/Arduino,jamesrob4/Arduino,gestrem/Arduino,xxxajk/Arduino-1,ntruchsess/Arduino-1,zederson/Arduino,ikbelkirasan/Arduino,ThoughtWorksIoTGurgaon/Arduino,ccoenen/Arduino,me-no-dev/Arduino-1,henningpohl/Arduino,NicoHood/Arduino,EmuxEvans/Arduino,cscenter/Arduino,PeterVH/Arduino,shiitakeo/Arduino,tannewt/Arduino,acosinwork/Arduino,chaveiro/Arduino