commit | 0c343344eb759e5a7f76dccf9eca5d4d369cbb89 | [log] [tgz] |
---|---|---|
author | Andreas Sandberg <andreas@sandberg.uk> | Mon Jul 11 20:12:36 2022 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Tue Aug 16 11:32:26 2022 +0200 |
tree | a41d1e6b7b643d8612bed51559e0ac285064fd0d | |
parent | 5af932f6e7882874791f6fe7fa60927f11654671 [diff] |
drivers: ssd16xx: Refactor activation Device activation always follows the same sequence, we first write the SSD16XX_CMD_UPDATE_CTRL_2 register followed by SSD16XX_CMD_MASTER_ACTIVATION. Create a helper function that performs both of these actions. Signed-off-by: Andreas Sandberg <andreas@sandberg.uk>