Skip to content

Commit

Permalink
Must keep the typos in sensor configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
wberube committed Sep 13, 2024
1 parent b9951bd commit f44e021
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/hal/hisi/v1_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ static enum ConfigError v1_parse_config_videv(
}
{
const char *possible_values[] = {
"VI_HSYNC_VALID_SIGNAL", "VI_HSYNC_PULSE"};
"VI_HSYNC_VALID_SINGNAL", "VI_HSYNC_PULSE"};
const int count = sizeof(possible_values) / sizeof(const char *);
err = parse_enum(
ini, section, "hsync", (void*)&device->sync.hsyncPulse, possible_values,
Expand All @@ -246,7 +246,7 @@ static enum ConfigError v1_parse_config_videv(
}
{
const char *possible_values[] = {
"VI_VSYNC_NORM_PULSE", "VI_VSYNC_VALID_SIGNAL"};
"VI_VSYNC_NORM_PULSE", "VI_VSYNC_VALID_SINGAL"};
const int count = sizeof(possible_values) / sizeof(const char *);
err = parse_enum(
ini, section, "vsyncvalid", (void*)&device->sync.vsyncValid,
Expand Down
4 changes: 2 additions & 2 deletions src/hal/hisi/v2_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ static enum ConfigError v2_parse_config_videv(
}
{
const char *possible_values[] = {
"VI_HSYNC_VALID_SIGNAL", "VI_HSYNC_PULSE"};
"VI_HSYNC_VALID_SINGNAL", "VI_HSYNC_PULSE"};
const int count = sizeof(possible_values) / sizeof(const char *);
err = parse_enum(
ini, section, "hsync", (void*)&device->sync.hsyncPulse, possible_values,
Expand All @@ -245,7 +245,7 @@ static enum ConfigError v2_parse_config_videv(
}
{
const char *possible_values[] = {
"VI_VSYNC_NORM_PULSE", "VI_VSYNC_VALID_SIGNAL"};
"VI_VSYNC_NORM_PULSE", "VI_VSYNC_VALID_SINGAL"};
const int count = sizeof(possible_values) / sizeof(const char *);
err = parse_enum(
ini, section, "vsyncvalid", (void*)&device->sync.vsyncValid,
Expand Down
4 changes: 2 additions & 2 deletions src/hal/hisi/v3_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ static enum ConfigError v3_parse_config_videv(
}
{
const char *possible_values[] = {
"VI_HSYNC_VALID_SIGNAL", "VI_HSYNC_PULSE"};
"VI_HSYNC_VALID_SINGNAL", "VI_HSYNC_PULSE"};
const int count = sizeof(possible_values) / sizeof(const char *);
err = parse_enum(
ini, section, "hsync", (void*)&device->sync.hsyncPulse, possible_values,
Expand All @@ -245,7 +245,7 @@ static enum ConfigError v3_parse_config_videv(
}
{
const char *possible_values[] = {
"VI_VSYNC_NORM_PULSE", "VI_VSYNC_VALID_SIGNAL"};
"VI_VSYNC_NORM_PULSE", "VI_VSYNC_VALID_SINGAL"};
const int count = sizeof(possible_values) / sizeof(const char *);
err = parse_enum(
ini, section, "vsyncvalid", (void*)&device->sync.vsyncValid,
Expand Down
4 changes: 2 additions & 2 deletions src/hal/hisi/v4_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ static enum ConfigError v4_parse_config_videv(
}
{
const char *possible_values[] = {
"VI_HSYNC_VALID_SIGNAL", "VI_HSYNC_PULSE"};
"VI_HSYNC_VALID_SINGNAL", "VI_HSYNC_PULSE"};
const int count = sizeof(possible_values) / sizeof(const char *);
err = parse_enum(
ini, section, "hsync", (void*)&device->sync.hsyncPulse, possible_values,
Expand All @@ -213,7 +213,7 @@ static enum ConfigError v4_parse_config_videv(
}
{
const char *possible_values[] = {
"VI_VSYNC_NORM_PULSE", "VI_VSYNC_VALID_SIGNAL"};
"VI_VSYNC_NORM_PULSE", "VI_VSYNC_VALID_SINGAL"};
const int count = sizeof(possible_values) / sizeof(const char *);
err = parse_enum(
ini, section, "vsyncvalid", (void*)&device->sync.vsyncValid,
Expand Down

0 comments on commit f44e021

Please sign in to comment.