We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f853e4 commit d35793cCopy full SHA for d35793c
main/src/user/pwr.c
@@ -105,7 +105,7 @@ void pwr_init(void)
105
106
dac_output_disable(DAC_CHANNEL_1);
107
108
- return;
+ goto pwr_exit;
109
}
110
111
do {
@@ -119,7 +119,7 @@ void pwr_init(void)
119
if (dp_raw > 255) {
120
pwr_mode = PWR_IDX_DCP;
121
122
123
124
125
qc_mode = true;
@@ -128,4 +128,7 @@ void pwr_init(void)
128
app_getenv("PWR_INIT_CFG", &env_mode, &length);
129
130
pwr_set_mode(env_mode);
131
+
132
+pwr_exit:
133
+ ESP_LOGI(TAG, "started.");
134
0 commit comments