diff --git a/README.md b/README.md index 942cbf6a..f2526e8b 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ ESPurna ("spark" in Catalan) is a custom firmware for ESP8285/ESP8266 based smar It uses the Arduino Core for ESP8266 framework and a number of 3rd party libraries. [![version](https://img.shields.io/badge/version-1.13.0c-brightgreen.svg)](CHANGELOG.md) -[![branch](https://img.shields.io/badge/branch-Trickx-dev-orange.svg)](https://github.org/xoseperez/espurna/tree/Trickx-dev/) -[![travis](https://travis-ci.org/xoseperez/espurna.svg?branch=Trickx-dev)](https://travis-ci.org/xoseperez/espurna) -[![codacy](https://img.shields.io/codacy/grade/c9496e25cf07434cba786b462cb15f49/Trickx-dev.svg)](https://www.codacy.com/app/xoseperez/espurna/dashboard) +[![branch](https://img.shields.io/badge/branch-dev-orange.svg)](https://github.org/xoseperez/espurna/tree/dev/) +[![travis](https://travis-ci.org/xoseperez/espurna.svg?branch=dev)](https://travis-ci.org/xoseperez/espurna) +[![codacy](https://img.shields.io/codacy/grade/c9496e25cf07434cba786b462cb15f49/dev.svg)](https://www.codacy.com/app/xoseperez/espurna/dashboard) [![license](https://img.shields.io/github/license/xoseperez/espurna.svg)](LICENSE)
[![donate](https://img.shields.io/badge/donate-PayPal-blue.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=xose%2eperez%40gmail%2ecom&lc=US&no_note=0¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHostedGuest) diff --git a/code/espurna/sensor.ino b/code/espurna/sensor.ino index 83204f8c..fd5309fa 100644 --- a/code/espurna/sensor.ino +++ b/code/espurna/sensor.ino @@ -59,7 +59,6 @@ unsigned char _magnitudeDecimals(unsigned char type) { type == MAGNITUDE_POWER_REACTIVE) { if (_sensor_power_units == POWER_KILOWATTS) return 3; } - if (type == MAGNITUDE_GEIGER_SIEVERT) return 4; // TODO: Is this required? "magnitude_decimals" are defined in progmem.h if (type < MAGNITUDE_MAX) return pgm_read_byte(magnitude_decimals + type); return 0;