We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8be1681 commit 61ea718Copy full SHA for 61ea718
ports/raspberrypi/common-hal/picodvi/__init__.c
@@ -17,10 +17,10 @@
17
#include "supervisor/port_heap.h"
18
19
void picodvi_autoconstruct(void) {
20
+ #if defined(DEFAULT_DVI_BUS_CLK_DP)
21
if (get_safe_mode() != SAFE_MODE_NONE) {
22
return;
23
}
- #if defined(DEFAULT_DVI_BUS_CLK_DP)
24
// check if address 0x50 is live on the I2C bus -- return if not
25
busio_i2c_obj_t *i2c = common_hal_board_create_i2c(0);
26
if (!i2c) {
0 commit comments