diff options
author | Neo Xu <xuxingliang@xiaomi.com> | 2024-01-11 13:48:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-11 06:48:51 +0100 |
commit | 873549150e1524c22fb86db1eec3cb9f759d6930 (patch) | |
tree | dfad5fbc22e4182841b30453ba759e667388d943 /scripts/code-format.py | |
parent | e10f573150a95822df6422541bcc9ea1238f098a (diff) | |
download | lvgl-873549150e1524c22fb86db1eec3cb9f759d6930.tar.gz lvgl-873549150e1524c22fb86db1eec3cb9f759d6930.zip |
refactor(display): add API to set raw buffer to display (#5274)
The drivers have been changed back original logic. Fix #5270 Fix #5271
Related to #5204 lvgl/lv_binding_micropython#313
Discussion on #5273
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
Diffstat (limited to 'scripts/code-format.py')
-rwxr-xr-x | scripts/code-format.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/code-format.py b/scripts/code-format.py index 6fe30caff..97acc725d 100755 --- a/scripts/code-format.py +++ b/scripts/code-format.py @@ -7,13 +7,13 @@ script_dir = os.path.dirname(script_dir) cfg_file = os.path.join(script_dir, 'code-format.cfg') print("\nFormatting demos") -os.system(f'astyle --options={cfg_file} --recursive "{script_dir}/../demos/*.c,*.h"') +os.system(f'astyle --options={cfg_file} --recursive "{script_dir}/../demos/*.c,*.cpp,*.h"') print("\nFormatting examples") -os.system(f'astyle --options={cfg_file} --recursive "{script_dir}/../examples/*.c,*.h"') +os.system(f'astyle --options={cfg_file} --recursive "{script_dir}/../examples/*.c,*.cpp,*.h"') print("Formatting src") -os.system(f'astyle --options={cfg_file} --recursive "{script_dir}/../src/*.c,*.h"') +os.system(f'astyle --options={cfg_file} --recursive "{script_dir}/../src/*.c,*.cpp,*.h"') print("\nFormatting tests") -os.system(f'astyle --options={cfg_file} --recursive "{script_dir}/../tests/*.c,*.h"') +os.system(f'astyle --options={cfg_file} --recursive "{script_dir}/../tests/*.c,*.cpp,*.h"') |