From 88c7e64e38dcfdf85b5a47e6dfdc83a5a8b3f445 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Wed, 20 Feb 2013 18:48:53 -0300 Subject: [PATCH] atusb/fw/mac.c (txing, queued_tx_ack): change from "int" to "bool" --- atusb/fw/mac.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/atusb/fw/mac.c b/atusb/fw/mac.c index 7a42759..8e1d97d 100644 --- a/atusb/fw/mac.c +++ b/atusb/fw/mac.c @@ -11,6 +11,7 @@ */ #include +#include #include #include "usb.h" @@ -27,8 +28,8 @@ int (*mac_irq)(void) = NULL; static uint8_t rx_buf[MAX_PSDU+2]; /* PHDR+payload+LQ */ static uint8_t tx_buf[MAX_PSDU]; static uint8_t tx_size = 0; -static int txing = 0; -static int queued_tx_ack = 0; +static bool txing = 0; +static bool queued_tx_ack = 0; static uint8_t reg_read(uint8_t reg)