Skip to content

Commit

Permalink
whitespace cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Schlueter committed Nov 14, 2012
1 parent 4a04967 commit 4e3bddd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions Eeprom24C04_16.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
Expand Down Expand Up @@ -120,7 +120,7 @@ Eeprom24C04_16::writeByte
* word address,
* word length,
* byte* p_data)
*
*
* \brief Write bytes in EEPROM memory.
*
* \param address Start address.
Expand Down Expand Up @@ -169,7 +169,7 @@ Eeprom24C04_16::writeBytes

/**************************************************************************//**
* \fn byte Eeprom24C04_16::readByte(word address)
*
*
* \brief Read a byte in EEPROM memory.
*
* \param address Address.
Expand Down Expand Up @@ -287,7 +287,7 @@ Eeprom24C04_16::writeBuffer
Wire.write(p_data[i]);
}
Wire.endTransmission();

// Write cycle time (tWR). See EEPROM memory datasheet for more details.
delay(10);
}
Expand Down
18 changes: 9 additions & 9 deletions Eeprom24C04_16.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
Expand Down Expand Up @@ -43,7 +43,7 @@
class Eeprom24C04_16
{
public:

/******************************************************************//**
* \fn Eeprom24C04_16(byte deviceAddress)
*
Expand All @@ -60,11 +60,11 @@ class Eeprom24C04_16
* \fn void initialize()
*
* \brief Initialize library abnd TWI bus.
*
*
* If several devices are connected to TWI bus, this method mustn't be
* called. TWI bus must be initialized out of this library using
* Wire.begin() method.
**********************************************************************/
**********************************************************************/
void
initialize();

Expand All @@ -86,13 +86,13 @@ class Eeprom24C04_16
word address,
byte data
);

/******************************************************************//**
* \fn void writeBytes(
* word address,
* word length,
* byte* p_data)
*
*
* \brief Write bytes in EEPROM memory.
*
* \param address Start address.
Expand All @@ -106,10 +106,10 @@ class Eeprom24C04_16
word length,
byte* p_data
);

/******************************************************************//**
* \fn byte readByte(word address)
*
*
* \brief Read a byte in EEPROM memory.
*
* \param address Address.
Expand Down Expand Up @@ -141,7 +141,7 @@ class Eeprom24C04_16
word length,
byte* p_buffer
);

private:

byte m_deviceAddress;
Expand Down

0 comments on commit 4e3bddd

Please sign in to comment.