Skip to content

Commit

Permalink
changed declaration order to avoid a compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
felias-fogg committed May 30, 2024
1 parent c42904a commit b30b703
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
CHANGELOG for FlexWire
V1.2.1 (30.5.2024)
- changed order of declaration for _pullup and _i2cdelay in order to
avoid a warning message

V1.2.0 (15.1.2024)
- changed BUFFER_LENGTH to I2C_BUFFER_LENGTH for ESP32 in order to be compatible with ESP32 Wire lib
- BUFFER_LENGTH and I2C_BUFFER_LENGTH are now synonyms for all other
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=FlexWire
version=1.2.0
version=1.2.1
author=Bernhard Nebel
maintainer=Bernhard Nebel <nebel@hinterm-ziel.de>
sentence=This library implements the master side of the I2C protocol in a platform independent way.
Expand Down
4 changes: 2 additions & 2 deletions src/FlexWire.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#ifndef FLEXWIRE_h
#define FLEXWIRE_h
#define FLEXWIRE_VERSION 1.2.0
#define FLEXWIRE_VERSION 1.2.1

// #define AVR_OPTIMIZATION 0 // without optimizations, less code, but much slower (55 kHz)

Expand Down Expand Up @@ -46,8 +46,8 @@ class FlexWire {
uint8_t _error;
uint8_t _sda;
uint8_t _scl;
bool _pullup;
uint16_t _i2cDelay;
bool _pullup;
int8_t _sdastate;
int8_t _sclstate;
#if AVR_OPTIMIZATION
Expand Down

0 comments on commit b30b703

Please sign in to comment.