이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
Sol-Solis
/
blinky-esp
보기
1
좋아요
0
포크
0
코드
이슈
0
풀 리퀘스트
0
릴리즈
0
위키
활동
소스 검색
Avoid spurios SPI error with 0-length transactions
master
jrhoffa
3 년 전
부모
19cda3ec5a
커밋
b82f7900a3
1개의 변경된 파일
과
3개의 추가작업
그리고
0개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+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;
쓰기
미리보기
불러오는 중...
취소
저장