Move SHA204 personalizer sketch to MySensors examples
Fix include errors.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
#include "sha204_library.h"
|
#include "sha204_library.h"
|
||||||
#include "sha204_includes/sha204_lib_return_codes.h"
|
#include "sha204_lib_return_codes.h"
|
||||||
|
|
||||||
|
|
||||||
// atsha204Class Constructor
|
// atsha204Class Constructor
|
||||||
@@ -816,4 +816,4 @@ uint8_t atsha204Class::sha204c_check_crc(uint8_t *response)
|
|||||||
|
|
||||||
return (crc[0] == response[count] && crc[1] == response[count + 1])
|
return (crc[0] == response[count] && crc[1] == response[count + 1])
|
||||||
? SHA204_SUCCESS : SHA204_BAD_CRC;
|
? SHA204_SUCCESS : SHA204_BAD_CRC;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user