Skip to content

Commit

Permalink
Removed unused I2C speed definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
SV-Zanshin authored and SV-Zanshin committed Jun 30, 2018
1 parent be13d05 commit 9485646
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/MCP7940.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,8 @@
/*****************************************************************************************************************
** Declare constants used in the class **
*****************************************************************************************************************/
const uint16_t I2C_STANDARD_MODE = 100000; // Default normal I2C comms speed //
const uint16_t I2C_STANDARD_MODE = 100000; // Default normal I2C 100KHz speed //
const uint16_t I2C_FAST_MODE = 400000; // Fast mode //
const uint16_t I2C_FAST_MODE_PLUS_MODE = 1000000; // Really fast mode //
const uint16_t I2C_HIGH_SPEED_MODE = 3400000; // Turbo mode //
const uint8_t MCP7940_ADDRESS = 0x6F; // Device address, fixed value //
const uint8_t MCP7940_RTCSEC = 0x00; // Register definitions //
const uint8_t MCP7940_RTCMIN = 0x01; // //
Expand Down

0 comments on commit 9485646

Please sign in to comment.