5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-13 03:18:29 -04:00

AP_Notify: fixed oled probe on first bus

Thanks to Erwin Quilloy for helping to track this down
This commit is contained in:
Andrew Tridgell 2018-09-03 18:06:47 +10:00 committed by Francisco Ferreira
parent 0be5e65b4a
commit ebcdf4c9c6

View File

@ -337,6 +337,9 @@ bool Display::init(void)
default: default:
break; break;
} }
if (_driver != nullptr) {
break;
}
} }
if (_driver == nullptr) { if (_driver == nullptr) {