瀏覽代碼

update FASTRUN

"noinline, noclone" has the opposite effect of beeing faster now on T4
Maye it would be best to use an empty define ? Then we can remove the section in the linker-file, too.

#define FASTRUN
main
Frank 5 年之前
父節點
當前提交
3b00522ebd
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      teensy4/WProgram.h

+ 1
- 1
teensy4/WProgram.h 查看文件

@@ -46,7 +46,7 @@
#include "HardwareSerial.h"

#define DMAMEM __attribute__ ((section(".dmabuffers"), used))
#define FASTRUN __attribute__ ((section(".fastrun"), noinline, noclone ))
#define FASTRUN __attribute__ ((section(".fastrun") ))

#ifdef __cplusplus


Loading…
取消
儲存