Skip to content

Commit

Permalink
fix a problem with floats since last version
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeppelin500 committed Apr 9, 2024
1 parent 3757571 commit 9e3f17d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [0.9.2] - 2024-04-09

### Changed

- fix a problem with floats since last version

## [0.9.1] - 2024-04-05

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MBusinoLib - an Arduino M-Bus Decoder Library

[![version](https://img.shields.io/badge/version-0.9.1-brightgreen.svg)](CHANGELOG.md)
[![version](https://img.shields.io/badge/version-0.9.2-brightgreen.svg)](CHANGELOG.md)
[![license](https://img.shields.io/badge/license-GPL--3.0-orange.svg)](LICENSE)


Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "git",
"url": "https://github.com/Zeppelin500/MBusinoLib.git"
},
"version": "0.9.1",
"version": "0.9.2",
"license": "GPL-3.0",
"frameworks": "arduino",
"platforms": ["atmelavr", "atmelsam", "espressif8266"],
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=MBusinoLib
version=0.9.1
version=0.9.2
author=Zeppelin500 <[email protected]>
maintainer=Zeppelin500 <[email protected]>
sentence=an Arduino M-Bus decode Library
Expand Down
2 changes: 1 addition & 1 deletion src/MBusinoLib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ uint8_t MBusinoLib::decode(uint8_t *buffer, uint8_t size, JsonArray& root) {
if(dataCodingType == 3){
scaled = valueFloat;
}
if(vifarray[0]==0xFF){
else if(vifarray[0]==0xFF){
scaled = value;
}
else{
Expand Down

0 comments on commit 9e3f17d

Please sign in to comment.