]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - embedded/app/usbcan/can_queue.c
Embedded code and LinCAN driver now working
[lincan.git] / embedded / app / usbcan / can_queue.c
index 5a098bbc52c2b9f42da7021b0c29e0f2fcd4c78e..91077d7e14e868c178ca5e86dff9336ffbfeae04 100644 (file)
@@ -20,8 +20,8 @@ extern int processlocal;
 
 atomic_t edge_num_cnt;
 
 
 atomic_t edge_num_cnt;
 
-//#define CAN_DEBUG
-#undef CAN_DEBUG
+#define CAN_DEBUG
+// #undef CAN_DEBUG
 
 #ifdef CAN_DEBUG
        #define DEBUGQUE(fmt,args...) can_printk(KERN_ERR "can_queue (debug): " fmt,\
 
 #ifdef CAN_DEBUG
        #define DEBUGQUE(fmt,args...) can_printk(KERN_ERR "can_queue (debug): " fmt,\
@@ -353,7 +353,7 @@ int canque_test_outslot(struct canque_ends_t *qends,
        }
        can_spin_unlock_irqrestore(&qends->ends_lock, flags);
        *qedgep=NULL;
        }
        can_spin_unlock_irqrestore(&qends->ends_lock, flags);
        *qedgep=NULL;
-       DEBUGQUE("canque_test_outslot no ready slot\n");
+//     DEBUGQUE("canque_test_outslot no ready slot\n");
        return -1;
 }
 
        return -1;
 }