Skip to content

Commit

Permalink
utils: make util header functions hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
connorimes committed Mar 6, 2024
1 parent 7e1c135 commit 3118ee7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion utils/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ extern "C" {
#endif

#include <stddef.h>
#include "hosp.h"
#include <hosp.h>

#pragma GCC visibility push(hidden)

// Time wait between writing a command the reading the response
#define HOSP_WRITE_READ_DELAY_MS 1
Expand All @@ -28,6 +30,8 @@ int hosp_util_get_status(hosp_device* hosp, int* is_on, int* is_started);

int hosp_util_get_data(hosp_device* hosp, unsigned int* mv, unsigned int* ma, unsigned int* mw, unsigned int* mWh);

#pragma GCC visibility pop

#ifdef __cplusplus
}
#endif
Expand Down

0 comments on commit 3118ee7

Please sign in to comment.