From 43593ee9d9ba855ae8ab66fa84f3026fa8c8c375 Mon Sep 17 00:00:00 2001 From: Kim Eirik Kvassheim Date: Fri, 9 Oct 2020 09:25:06 +0200 Subject: [PATCH] Fix wrong class name in example code for setting LoopBackMode --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 31d3658..a87dc19 100755 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ void setup () { while (!Serial) {} Serial.println ("Hello") ; ACAN2515Settings settings (QUARTZ_FREQUENCY, 125 * 1000) ; // 125 kbit/s - settings.mRequestedMode = ACAN2515RequestedMode::LoopBackMode ; // Select loopback mode + settings.mRequestedMode = ACAN2515Settings::LoopBackMode ; // Select loopback mode const uint16_t errorCode = can.begin (settings, [] { can.isr () ; }) ; if (0 == errorCode) { Serial.println ("Can ok") ;