Update more usage of hwGetentropy() (#869)
* Update more usage of hwGetentropy() * Add hwGetentropy() to Teensy 3.5/3.6
This commit is contained in:
@@ -44,12 +44,12 @@ uint8_t hwReadConfig(int adr);
|
||||
*/
|
||||
|
||||
/**
|
||||
* @def MY_HW_HAS_GETRANDOM
|
||||
* @def MY_HW_HAS_GETENTROPY
|
||||
* @brief Define this, if hwGetentropy is implemented
|
||||
*
|
||||
* ssize_t hwGetentropy(void *__buffer, size_t __length);
|
||||
*/
|
||||
//#define MY_HW_HAS_GETRANDOM
|
||||
//#define MY_HW_HAS_GETENTROPY
|
||||
|
||||
/// @brief unique ID
|
||||
typedef uint8_t unique_id_t[16];
|
||||
@@ -141,7 +141,7 @@ void hwDebugPrint(const char *fmt, ... );
|
||||
*/
|
||||
#ifdef DOXYGEN
|
||||
#define MY_CRITICAL_SECTION
|
||||
#define MY_HW_HAS_GETRANDOM
|
||||
#define MY_HW_HAS_GETENTROPY
|
||||
#endif /* DOXYGEN */
|
||||
|
||||
#endif // #ifdef MyHw_h
|
||||
|
||||
Reference in New Issue
Block a user