Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initialize fb min max values #200

Merged
merged 1 commit into from Apr 29, 2020
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -82,7 +82,14 @@ void flash_prepare() {
flash_write(i, &scene, &text);
}

cal_data_t cal = { 0, 16383, 0, 16383 };
cal_data_t cal = { 0,
16383,
0,
16383,
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 16383, 16383, 16383, 16383, 16383, 16383, 16383,
16383, 16383, 16383, 16383, 16383, 16383, 16383,
16383, 16383 } };
flashc_memcpy((void *)&f.cal, &cal, sizeof(cal), true);
device_config_t device_config = {.flip = 0 };
flashc_memcpy((void *)&f.device_config, &device_config,
ProTip! Use n and p to navigate between commits in a pull request.