Skip to content

Commit

Permalink
V2.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
felias-fogg committed Oct 20, 2023
1 parent 259e61a commit 5e7ac22
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/LibraryBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,5 @@ jobs:
platform-url: ${{ matrix.platform-url }}
sketches-exclude: tinywire,usiwire,slowwire,${{ matrix.sketches-exclude }}
build-properties: ${{ toJson(matrix.build-properties) }}
cli-version: 0.33.0 # in order to avoid errors for ATTinyCore

14 changes: 8 additions & 6 deletions src/SoftI2CMaster.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* Arduino SoftI2C library.
*
* Version 2.1.8
* Version 2.1.9
*
* Copyright (C) 2013-2021, Bernhard Nebel and Peter Fleury
* Copyright (C) 2013-2025, Bernhard Nebel and Peter Fleury
*
* This is a very fast and very light-weight software I2C-master library
* written in assembler. It is based on Peter Fleury's I2C software
Expand Down Expand Up @@ -60,7 +60,10 @@
*/

/* Changelog:
* * Version 2.1.8
* Version 2.1.9
* - ArminJo: added cli-version line in CI
* - ArminJo: changed position of guard
* Version 2.1.8
* - ArminJo: Included MACRO USE_SOFT_I2C_MASTER_H_AS_PLAIN_INCLUDE
* Version 2.1.7
* - ArminJo: replaced all calls and jmps by rcalls and rjmps for CPUs not having call and jmp
Expand Down Expand Up @@ -97,9 +100,6 @@
#error "Not an AVR MCU! Use 'SlowSoftI2CMaster' library instead of 'SoftI2CMaster'!"
#else

#ifndef _SOFTI2C_HPP
#define _SOFTI2C_HPP 1

#include <avr/io.h>
#include <Arduino.h>
#include <util/twi.h>
Expand Down Expand Up @@ -136,6 +136,8 @@ bool __attribute__ ((noinline)) i2c_write(uint8_t value) asm("ass_i2c_write") __
uint8_t __attribute__ ((noinline)) i2c_read(bool last) __attribute__ ((used));

#if !defined(USE_SOFT_I2C_MASTER_H_AS_PLAIN_INCLUDE)
#ifndef _SOFTI2C_HPP
#define _SOFTI2C_HPP 1
/*
* The implementation part of the header only library starts here
*/
Expand Down

0 comments on commit 5e7ac22

Please sign in to comment.