Skip to content

Commit

Permalink
Merge pull request #262 from bartkmq/develop
Browse files Browse the repository at this point in the history
enable __PROG_TYPES_COMPAT__ in avr-libc to fix prog_uchar related errors
  • Loading branch information
jrowberg authored Sep 23, 2021
2 parents 85b9bdd + 45797db commit 7974c6b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Arduino/I2Cdev/I2Cdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ THE SOFTWARE.
#ifndef _I2CDEV_H_
#define _I2CDEV_H_

// -----------------------------------------------------------------------------
// Enable deprecated pgmspace typedefs in avr-libc
// -----------------------------------------------------------------------------
#define __PROG_TYPES_COMPAT__

// -----------------------------------------------------------------------------
// I2C interface implementation setting
// -----------------------------------------------------------------------------
Expand Down

0 comments on commit 7974c6b

Please sign in to comment.