Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Max32630_One_Wire_Interface
Diff: RomId.cpp
- Revision:
- 49:36954b62f503
- Parent:
- 21:00c94aeb533e
- Child:
- 73:2cecc1372acc
--- a/RomId.cpp Thu Apr 07 11:26:20 2016 -0500
+++ b/RomId.cpp Fri Apr 08 16:11:16 2016 -0500
@@ -30,15 +30,8 @@
* ownership rights.
**********************************************************************/
-
#include "RomId.hpp"
-
-//--------------------------------------------------------------------------
-// Calculate the CRC8 of the byte value provided with the current
-// global 'crc8' value.
-// Returns current global crc8 value
-//
std::uint8_t RomId::calculateCRC8(std::uint8_t crc8, std::uint8_t data)
{
int i;