瀏覽代碼

Opps, fix pgm_read_ptr_near & pgm_read_ptr_far

teensy4-core
PaulStoffregen 7 年之前
父節點
當前提交
96a7ab14dd
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      teensy3/avr/pgmspace.h

+ 2
- 2
teensy3/avr/pgmspace.h 查看文件

@@ -121,11 +121,11 @@ typedef uint64_t prog_uint64_t;
#define pgm_read_word_near(addr) pgm_read_word(addr)
#define pgm_read_dword_near(addr) pgm_read_dword(addr)
#define pgm_read_float_near(addr) pgm_read_float(addr)
#define pgm_read_ptr_near(addr) pgm_read_float(addr)
#define pgm_read_ptr_near(addr) pgm_read_ptr(addr)
#define pgm_read_byte_far(addr) pgm_read_byte(addr)
#define pgm_read_word_far(addr) pgm_read_word(addr)
#define pgm_read_dword_far(addr) pgm_read_dword(addr)
#define pgm_read_float_far(addr) pgm_read_float(addr)
#define pgm_read_ptr_far(addr) pgm_read_float(addr)
#define pgm_read_ptr_far(addr) pgm_read_ptr(addr)

#endif

Loading…
取消
儲存