Skip to content

Commit

Permalink
Fix compilation issue. (qmk#13926)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarc authored and nhongooi committed Dec 5, 2021
1 parent 8219400 commit e73d0da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantum/split_common/transactions.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ typedef struct _split_transaction_desc_t {
// Forward declaration for the split transactions
extern split_transaction_desc_t split_transaction_table[NUM_TOTAL_TRANSACTIONS];

#define split_shmem_offset_ptr(offset) ((void *)(((uint8_t *)split_shmem) + (offset)))
#define split_shmem_offset_ptr(offset) (((uint8_t *)split_shmem) + (offset))
#define split_trans_initiator2target_buffer(trans) (split_shmem_offset_ptr((trans)->initiator2target_offset))
#define split_trans_target2initiator_buffer(trans) (split_shmem_offset_ptr((trans)->target2initiator_offset))

Expand Down

0 comments on commit e73d0da

Please sign in to comment.