BIT(n) was false. Now screen swap is fixed.

This commit is contained in:
thoduv 2006-07-03 10:12:48 +00:00
parent e72a9e8281
commit 93240873c6
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#ifndef BITS_H
#define BITS_H
#define BIT(n) BIT_N(1,n)
#define BIT(n) (1<<(n))
#define BIT_N(i,n) (((i)>>(n))&1)
#define BIT0(i) ((i)&1)