mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-05-02 03:19:29 +01:00
style: apply clang-format and enforce left pointer alignment
This commit is contained in:
@@ -16,8 +16,8 @@ extern System::PB<sys_state_data> stateWrapper;
|
||||
extern System::PB<sys_config> configWrapper;
|
||||
extern "C" {
|
||||
#endif
|
||||
#define PLATFORM_GET_PTR(base, sname) \
|
||||
{ \
|
||||
#define PLATFORM_GET_PTR(base, sname) \
|
||||
{ \
|
||||
(base && (base)->##has_##(sname) ? &(base)->sname : NULL)
|
||||
#define PLATFORM_DEVICES PLATFORM_GET_PTR(platform)
|
||||
void config_load();
|
||||
@@ -31,19 +31,16 @@ void config_set_target(const char* target_name);
|
||||
void config_set_target_no_reset(const char* target_name);
|
||||
void config_set_target_reset(const char* target_name);
|
||||
|
||||
void config_commit_protowrapper(void * protoWrapper);
|
||||
void config_commit_protowrapper(void* protoWrapper);
|
||||
bool config_http_send_config(httpd_req_t* req);
|
||||
bool config_erase_config();
|
||||
void set_mac_string();
|
||||
void config_dump_config();
|
||||
bool system_set_string(
|
||||
const pb_msgdesc_t* desc, uint32_t field_tag, void* message, const char* value);
|
||||
bool system_set_string(const pb_msgdesc_t* desc, uint32_t field_tag, void* message, const char* value);
|
||||
extern sys_config* platform;
|
||||
extern sys_state_data* sys_state;
|
||||
extern sys_config* presets;
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user