Implementation of 1-Wire with added Alarm Search Functionality
Dependents: Max32630_One_Wire_Interface
Diff: Authenticators/DS28E15_22_25/DS28E15_22_25.cpp
- Revision:
- 79:7f22823a5a2d
- Parent:
- 78:0cbbac7f2016
- Child:
- 82:c11090a32471
diff -r 0cbbac7f2016 -r 7f22823a5a2d Authenticators/DS28E15_22_25/DS28E15_22_25.cpp --- a/Authenticators/DS28E15_22_25/DS28E15_22_25.cpp Mon May 16 15:18:09 2016 -0500 +++ b/Authenticators/DS28E15_22_25/DS28E15_22_25.cpp Mon May 23 18:57:12 2016 -0500 @@ -864,7 +864,7 @@ } // check the second CRC16 - unsigned short CRC16 = 0; + uint16_t CRC16 = 0; // DS28E25/DS28E22, crc gets calculagted with CS byte if ((romId.familyCode() == DS28E25_Family) || (romId.familyCode() == DS28E22_Family)) @@ -1036,7 +1036,7 @@ } // check the second CRC16 - unsigned short CRC16 = 0; + uint16_t CRC16 = 0; // DS28E25/DS28E22, crc gets calculagted with CS byte if ((romId.familyCode() == DS28E25_Family) || (romId.familyCode() == DS28E22_Family))