From ebcdf4c9c67bc7dae1ebae240db1fc3f2a2c2cd2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 3 Sep 2018 18:06:47 +1000 Subject: [PATCH] AP_Notify: fixed oled probe on first bus Thanks to Erwin Quilloy for helping to track this down --- libraries/AP_Notify/Display.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_Notify/Display.cpp b/libraries/AP_Notify/Display.cpp index 78e1f0542c..dae4c16612 100644 --- a/libraries/AP_Notify/Display.cpp +++ b/libraries/AP_Notify/Display.cpp @@ -337,6 +337,9 @@ bool Display::init(void) default: break; } + if (_driver != nullptr) { + break; + } } if (_driver == nullptr) {