Skip to content

Commit

Permalink
board: az3166_iotdevkit: update SSD1306_REVERSE_MODE option
Browse files Browse the repository at this point in the history
The SSD1306_REVERSE_MODE is now a devicetree property.

Update the board config, fix a:

warning: SSD1306_REVERSE_MODE (defined at
boards/arm/az3166_iotdevkit/Kconfig.defconfig:15) defined without a type

compliance warning.

Signed-off-by: Fabio Baltieri <[email protected]>
  • Loading branch information
fabiobaltieri authored and coran21 committed Sep 21, 2023
1 parent 84b66c1 commit 7be7eb2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions boards/arm/az3166_iotdevkit/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,4 @@ choice HTS221_TRIGGER_MODE
default HTS221_TRIGGER_NONE
endchoice

config SSD1306_REVERSE_MODE
default y

endif # BOARD_AZ3166_DEVKIT
1 change: 1 addition & 0 deletions boards/arm/az3166_iotdevkit/az3166_iotdevkit.dts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@
segment-remap;
com-invdir;
prechargep = <0x22>;
inversion-on;

reset-gpios = <&gpioa 8 GPIO_ACTIVE_HIGH>;
};
Expand Down

0 comments on commit 7be7eb2

Please sign in to comment.