add USBrelay

This commit is contained in:
eddyem
2020-10-13 00:01:41 +03:00
parent 62a19346cf
commit 2656ac3d43
13 changed files with 536 additions and 12 deletions

3
powerof2.c Normal file
View File

@@ -0,0 +1,3 @@
int IsPowerOfTwo(uint64_t x){
return (x != 0) && ((x & (x - 1)) == 0);
}