File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,13 @@ typedef uintptr_t uint_farptr_t;
41
41
#define pgm_read_word_near (address_short ) (* (const uint16_t *) (address_short) )
42
42
#define pgm_read_dword_near (address_short ) (* (const uint32_t *) (address_short) )
43
43
#define pgm_read_float_near (address_short ) (* (const float *) (address_short) )
44
- #define pgm_read_ptr_near (address_short ) (* (const void *) (address_short) )
44
+ #define pgm_read_ptr_near (address_short ) (* (const void **) (address_short) )
45
45
46
46
#define pgm_read_byte_far (address_long ) (* (const uint8_t *) (address_long) )
47
47
#define pgm_read_word_far (address_long ) (* (const uint16_t *) (address_long) )
48
48
#define pgm_read_dword_far (address_long ) (* (const uint32_t *) (address_long) )
49
49
#define pgm_read_float_far (address_long ) (* (const float *) (address_long) )
50
- #define pgm_read_ptr_far (address_long ) (* (const void *) (address_long) )
50
+ #define pgm_read_ptr_far (address_long ) (* (const void **) (address_long) )
51
51
52
52
#define pgm_read_byte (address_short ) pgm_read_byte_near(address_short)
53
53
#define pgm_read_word (address_short ) pgm_read_word_near(address_short)
You can’t perform that action at this time.
0 commit comments