Import latest peanut_gb. from deltabeard (fix BG over OBJ with colour 0)

This commit is contained in:
Vincent Mistler
2022-12-18 11:41:59 +01:00
parent 4a0516a7ae
commit 1ec7701b74
2 changed files with 3865 additions and 3882 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ void i2s_init(i2s_config_t *i2s_config) {
* len: length of sample in 32 bits words * len: length of sample in 32 bits words
*/ */
void i2s_write(const i2s_config_t *i2s_config,const int16_t *samples,const size_t len) { void i2s_write(const i2s_config_t *i2s_config,const int16_t *samples,const size_t len) {
for(size_t i=0;i<len;i+=2) { for(size_t i=0;i<len;i++) {
pio_sm_put_blocking(i2s_config->pio, i2s_config->sm, (uint32_t)samples[i]); pio_sm_put_blocking(i2s_config->pio, i2s_config->sm, (uint32_t)samples[i]);
} }
} }
+3864 -3881
View File
File diff suppressed because it is too large Load Diff