Skip to content

Commit

Permalink
Update submodule, explicitly check for valid format enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ojousima committed Jan 31, 2024
1 parent f950ab5 commit e6f68ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app_dataformats.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ app_dataformat_t app_dataformat_next (const app_dataformats_t formats,
{
app_dataformat_t nextState = DF_INVALID;

if (formats.formats)
if (DF_INVALID != formats.formats)
{
nextState = state;

Expand Down
2 changes: 1 addition & 1 deletion src/ruuvi.drivers.c
Submodule ruuvi.drivers.c updated 0 files
2 changes: 1 addition & 1 deletion src/ruuvi.endpoints.c

0 comments on commit e6f68ae

Please sign in to comment.