From 9a1b084e56fae7b3a42d15a4e0fc4bc1352d46f8 Mon Sep 17 00:00:00 2001 From: ppisa Date: Tue, 30 Oct 2007 11:40:13 +0000 Subject: [PATCH] Corrected typo in legacy PCA82C200 (SJA1000 std) chip driver. Thanks to Terence Soh for noticing the problem. Important notice, if the board is equipped by real SJA1000 CAN controller chip, then PeliCAN mode is much much better choice and sja1000p_register() function should be used instead of bare standard sja1000_register() chip support. --- lincan/src/sja1000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lincan/src/sja1000.c b/lincan/src/sja1000.c index 71c7095..de3ab20 100644 --- a/lincan/src/sja1000.c +++ b/lincan/src/sja1000.c @@ -515,7 +515,7 @@ int sja1000_register(struct chipspecops_t *chipspecops) chipspecops->start_chip = sja1000_start_chip; chipspecops->stop_chip = sja1000_stop_chip; chipspecops->irq_handler = sja1000_irq_handler; - chipspecops->irq_handler = NULL; + chipspecops->irq_accept = NULL; return 0; } -- 2.39.2