Skip to content

Commit 0814bfe

Browse files
committed
Updates CI
1 parent 5571c2f commit 0814bfe

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/unix.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
- name: Install Deps
2121
# sudo apt-get update && sudo apt-get install --assume-yes --allow-downgrades --allow-remove-essential --allow-change-held-packages build-essential pkg-config cmake ninja-build ccache
2222
run: |
23-
git submodule update --init -- lib/pycparser
24-
git submodule update --init --jobs 4 -- lib/micropython
25-
git submodule update --init --jobs 4 -- lib/lvgl
23+
git submodule update --init --depth 1 -- lib/pycparser
24+
git submodule update --init --depth 1 --jobs 4 -- lib/micropython
25+
git submodule update --init --depth 1 --jobs 4 -- lib/lvgl
2626
2727
- name: Cached Deps
2828
id: cache-deps
@@ -36,9 +36,9 @@ jobs:
3636
- name: Get Build Deps
3737
if: steps.cache-deps.outputs.cache-hit != 'true'
3838
run: |
39-
git submodule update --init --jobs 4 -- lib/esp-idf
39+
git submodule update --init --depth 1 --jobs 4 -- lib/esp-idf
4040
cd lib/esp-idf
41-
git submodule update --init --jobs 4 -- components/bt/host/nimble/nimble components/esp_wifi components/esptool_py/esptool components/lwip/lwip components/mbedtls/mbedtls components/bt/controller/lib_esp32 components/bt/controller/lib_esp32c3_family
41+
git submodule update --init --depth 1 --jobs 4 -- components/bt/host/nimble/nimble components/esp_wifi components/esptool_py/esptool components/lwip/lwip components/mbedtls/mbedtls components/bt/controller/lib_esp32 components/bt/controller/lib_esp32c3_family
4242
cd ../..
4343
export "IDF_PATH=${GITHUB_WORKSPACE}/lib/esp-idf"
4444
./lib/esp-idf/install.sh all

ext_mod/lcd_bus/esp32_src/rgb_bus_rotation.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144

145145
static void copy_pixels(void *dst, void *src, uint32_t x_start, uint32_t y_start,
146146
uint32_t x_end, uint32_t y_end, uint32_t dst_width, uint32_t dst_height,
147-
uint32_t bytes_per_pixel, uint8_t rotate);
147+
uint32_t bytes_per_pixel, uint8_t rotate, uint8_t rgb565_dither);
148148

149149

150150
static bool rgb_bus_trans_done_cb(esp_lcd_panel_handle_t panel,
@@ -386,7 +386,7 @@
386386
if (rgb565_dither) {
387387
for(uint32_t y = y_start; y < y_end; y++) {
388388
for (uint32_t x=0;x<x_end;x++) {
389-
rgb565_dither_pixel(CALC_THRESHOLD(x, y), src + (x * 2));
389+
rgb565_dither_pixel(CALC_THRESHOLD(x, y), (uint16_t *)src + (x * 2));
390390
dst + (x * 2) = src + (x * 2);
391391
}
392392
dst += dst_bytes_per_line;

0 commit comments

Comments
 (0)