silence warnings

This commit is contained in:
joeycastillo
2024-07-06 08:52:41 -04:00
parent 226cda748c
commit 89a2af92ef
4 changed files with 5 additions and 2 deletions

View File

@@ -119,7 +119,8 @@ int getentropy(void *buf, size_t buflen) {
return 0;
}
void watch_disable_TRNG() {
void watch_disable_TRNG(void);
void watch_disable_TRNG(void) {
// per Microchip datasheet clarification DS80000782,
// silicon erratum 1.16.1 indicates that the TRNG may leave internal components powered after being disabled.
// the workaround is to disable the TRNG by clearing the control register, twice.

View File

@@ -23,6 +23,7 @@
*/
#include "driver_init.h"
uint16_t sequence_length(int8_t *sequence);
uint16_t sequence_length(int8_t *sequence) {
uint16_t result = 0;