docs: add an example for streaming feature (#99)

This commit is contained in:
Dien-Nhung Nguyen
2025-07-22 05:54:46 +07:00
committed by GitHub
parent ac64530847
commit f625f57b02
3 changed files with 57 additions and 1 deletions

View File

@@ -295,7 +295,7 @@ uint8_t stream_bitmap(uint8_t *params, uint16_t len)
return -1;
}
tmos_memcpy(fb, params, min(LED_COLS, len));
tmos_memcpy(fb, params, min(LED_COLS * 2, len));
return 0;
}