/*
-Copyright (c) 2010,2011 Jun WAKO <wakojun@gmail.com>
+Copyright 2010,2011 Jun WAKO <wakojun@gmail.com>
This software is licensed with a Modified BSD License.
All of this is supposed to be Free Software, Open Source, DFSG-free,
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
+
#include <stdbool.h>
#include <avr/io.h>
#include <avr/interrupt.h>
return pbuf_dequeue();
}
+#if 0
#define DEBUGP_INIT() do { DDRC = 0xFF; } while (0)
#define DEBUGP(x) do { PORTC = x; } while (0)
+#else
+#define DEBUGP_INIT()
+#define DEBUGP(x)
+#endif
ISR(PS2_INT_VECT)
{
static enum {