diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-10-29 18:01:56 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-10-29 18:01:56 +0200 |
commit | 9e9ea9d07ed2a176d6f6e83b5b100da22d8fca50 (patch) | |
tree | a683bde4664dad75c3b5a1efbd4223a4ab3b40dd /shared/util.h | |
parent | ead710db271795380207141f0add7278ba12ada0 (diff) | |
parent | aae57dc32a843351fb2e17721afcd841bedec0a6 (diff) |
Merge branch 'protocol' into dev
Diffstat (limited to 'shared/util.h')
-rw-r--r-- | shared/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/util.h b/shared/util.h index f39ff34..94a3dfe 100644 --- a/shared/util.h +++ b/shared/util.h @@ -2,3 +2,5 @@ #define WS_MIN(a, b) (((a) < (b)) ? (a) : (b)) #define WS_MAX(a, b) (((a) > (b)) ? (a) : (b)) + +unsigned int ws_log16(unsigned int x); |