Ken Van Hoeylandt 622c9f780c Revert "fix for flash size in default config"
This reverts commit 38e7a359109115f4e3d6fdda963009e3544a6ef3.
2024-01-17 20:52:08 +01:00

19 lines
371 B
C

#pragma once
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* This is quicker than the m-string.h hashing, as the latter
* operates on raw memory blocks and thus a strlen() call is required first.
* @param[in] str the string to calculate the hash for
* @return the hash
*/
uint32_t tt_hash_string_djb2(const char* str);
#ifdef __cplusplus
}
#endif