From 270ede560382bbce481b18895276d9802ae931ee Mon Sep 17 00:00:00 2001 From: schodet Date: Fri, 20 Jan 2006 20:41:22 +0000 Subject: Ajout de _BV. --- n/avr/common/io.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'n/avr') diff --git a/n/avr/common/io.h b/n/avr/common/io.h index 920d9ff..57c453d 100644 --- a/n/avr/common/io.h +++ b/n/avr/common/io.h @@ -36,6 +36,8 @@ #else /* HOST */ +/* Same as on AVR. */ +#define _BV(x) (1<<(x)) /* No interrupt support on host. */ #define sei() #define cli() -- cgit v1.2.3