mirror of
https://github.com/opentx/opentx.git
synced 2025-07-16 21:05:26 +03:00
* [Horus] Fixes #3775 Quick fix ... comments welcome :) * Better hash function for strings * One comment, one! * One comment, one!
This commit is contained in:
parent
883ab9a937
commit
481df9ee3d
3 changed files with 22 additions and 10 deletions
|
@ -897,7 +897,7 @@ void checkModelIdUnique(uint8_t index, uint8_t module);
|
|||
#endif
|
||||
|
||||
#if defined(CPUARM)
|
||||
|
||||
uint32_t hash(const void * ptr, uint32_t size);
|
||||
inline int divRoundClosest(const int n, const int d)
|
||||
{
|
||||
if (d == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue