[Horus] Fixes #3775 (#4544)

* [Horus] Fixes #3775

Quick fix ... comments welcome :)

* Better hash function for strings

* One comment, one!

* One comment, one!
This commit is contained in:
Bertrand Songis
2017-03-04 10:14:38 +01:00
committed by GitHub
parent 883ab9a937
commit 481df9ee3d
3 changed files with 22 additions and 10 deletions
+1 -1
View File
@@ -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)