Skip to content

Commit

Permalink
Use Wire1 instead of Wire
Browse files Browse the repository at this point in the history
This makes the library work on the MJS2020 hardware. This is obviously a
hack, but until the library supports configuring it dynamically (see
Sensirion#23), this is the best we
can do.
  • Loading branch information
matthijskooijman committed May 21, 2021
1 parent 9dc275b commit f99df29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sensirion_hw_i2c_implementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
// needed for delay() routine
#include <Arduino.h>

#define Wire Wire1

#ifdef __cplusplus
extern "C" {
#endif
Expand Down

0 comments on commit f99df29

Please sign in to comment.