cpu/esp8266: fix of adc_res_t
cpu/esp8266: fix of adc_res_t

cpu/esp8266/include/periph_cpu.h overrides the default definition of adc_res_t from periph/adc with a definition which contains only one resolution. This gives compilation errorss if an application uses other resolutions. According to the documentation, adc_sample should return -1 if the resolution is not supported. All other CPUs override adc_res_t either to add new resolutions or to mark resolutions as unsupported. But they all allow to use them at the interface. Therefore, esp8266 uses now the default definition of adc_res_t and returns -1 if a solution is used in adc_sample that is not supported.
RIOT-OS/RIOT,miri64/RIOT,RIOT-OS/RIOT,kaspar030/RIOT,x3ro/RIOT,josephnoir/RIOT,rfuentess/RIOT,lazytech-org/RIOT,smlng/RIOT,BytesGalore/RIOT,OTAkeys/RIOT,aeneby/RIOT,smlng/RIOT,mtausig/RIOT,mfrey/RIOT,jasonatran/RIOT,rfuentess/RIOT,cladmi/RIOT,mfrey/RIOT,mtausig/RIOT,gebart/RIOT,smlng/RIOT,miri64/RIOT,yogo1212/RIOT,OTAkeys/RIOT,mfrey/RIOT,gebart/RIOT,josephnoir/RIOT,OlegHahm/RIOT,A-Paul/RIOT,x3ro/RIOT,lazytech-org/RIOT,OlegHahm/RIOT,yogo1212/RIOT,mfrey/RIOT,gebart/RIOT,RIOT-OS/RIOT,OlegHahm/RIOT,cladmi/RIOT,BytesGalore/RIOT,x3ro/RIOT,BytesGalore/RIOT,ant9000/RIOT,mtausig/RIOT,authmillenon/RIOT,josephnoir/RIOT,kaspar030/RIOT,authmillenon/RIOT,cladmi/RIOT,RIOT-OS/RIOT,OlegHahm/RIOT,josephnoir/RIOT,ant9000/RIOT,kaspar030/RIOT,OTAkeys/RIOT,jasonatran/RIOT,x3ro/RIOT,lazytech-org/RIOT,miri64/RIOT,kYc0o/RIOT,basilfx/RIOT,cladmi/RIOT,lazytech-org/RIOT,rfuentess/RIOT,toonst/RIOT,authmillenon/RIOT,yogo1212/RIOT,jasonatran/RIOT,BytesGalore/RIOT,smlng/RIOT,kYc0o/RIOT,mtausig/RIOT,yogo1212/RIOT,x3ro/RIOT,kaspar030/RIOT,A-Paul/RIOT,smlng/RIOT,toonst/RIOT,miri64/RIOT,authmillenon/RIOT,ant9000/RIOT,toonst/RIOT,jasonatran/RIOT,A-Paul/RIOT,ant9000/RIOT,aeneby/RIOT,lazytech-org/RIOT,yogo1212/RIOT,mfrey/RIOT,RIOT-OS/RIOT,gebart/RIOT,rfuentess/RIOT,aeneby/RIOT,rfuentess/RIOT,kYc0o/RIOT,kYc0o/RIOT,miri64/RIOT,basilfx/RIOT,toonst/RIOT,jasonatran/RIOT,BytesGalore/RIOT,aeneby/RIOT,basilfx/RIOT,OlegHahm/RIOT,ant9000/RIOT,josephnoir/RIOT,cladmi/RIOT,authmillenon/RIOT,aeneby/RIOT,authmillenon/RIOT,gebart/RIOT,basilfx/RIOT,OTAkeys/RIOT,A-Paul/RIOT,yogo1212/RIOT,mtausig/RIOT,basilfx/RIOT,kaspar030/RIOT,OTAkeys/RIOT,kYc0o/RIOT,toonst/RIOT,A-Paul/RIOT