このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
Sol-Solis
/
blinky-esp
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
プルリクエスト
0
リリース
0
Wiki
アクティビティ
ソースを参照
Avoid spurios SPI error with 0-length transactions
S3
jrhoffa
3年前
親
64a49904bb
コミット
1ba4562d8a
1個のファイルの変更
、
3行の追加
、
0行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+3
-0
main/spi_leds.cpp
+ 3
- 0
main/spi_leds.cpp
ファイルの表示
@@ -107,6 +107,9 @@ static uint8_t* encode_byte(uint8_t *out, uint8_t in) {
}
void SPI_LEDs::show() {
// We generate a spurious SPI error with a 0-length transaction.
if (length <= 0) return;
static int index = 0;
int ret;
const Color *pixel = pixels;
書き込み
プレビュー
読み込み中…
キャンセル
保存