8000 Merge pull request #116 from lucadentella/master · kebot-embedded/esp32-snippets@b2f8e80 · GitHub
[go: up one dir, main page]

Skip to content

Commit b2f8e80

Browse files
authored
Merge pull request nkolban#116 from lucadentella/master
Changed variable name (addr) in struct spi_transaction_t
2 parents 036971d + a8ff24d commit b2f8e80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware/displays/U8G2/u8g2_esp32_hal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ uint8_t u8g2_esp32_msg_comms_cb(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void
7575

7676
case U8X8_MSG_BYTE_SEND: {
7777
spi_transaction_t trans_desc;
78-
trans_desc.address = 0;
78+
trans_desc.addr = 0;
7979
trans_desc.command = 0;
8080
trans_desc.flags = 0;
8181
trans_desc.length = 8 * arg_int; // Number of bits NOT number of bytes.

0 commit comments

Comments
 (0)
0