瀏覽代碼

Update digital.c

teensy4-core
Frank 4 年之前
父節點
當前提交
536b328d29
No account linked to committer's email address
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      teensy4/digital.c

+ 2
- 2
teensy4/digital.c 查看文件

@@ -151,8 +151,8 @@ void _shiftOut(uint8_t dataPin, uint8_t clockPin, uint8_t bitOrder, uint8_t valu
}
}

static const int maxSpeed = 10000000ULL; //10 MHz
static const int maxSpeedBeforeDelay = 392000000ULL; //max F_CPU_ACTUAL before doing delays (measured for 10MHz, -O2)
static const unsigned maxSpeed = 10000000ULL; //10 MHz
static const unsigned maxSpeedBeforeDelay = 392000000ULL; //max F_CPU_ACTUAL before doing delays (measured for 10MHz, -O2)

void shiftOut_lsbFirst(uint8_t dataPin, uint8_t clockPin, uint8_t value)
{

Loading…
取消
儲存