esp_phy: move used time tracking to debug module

This commit is contained in:
zwx
2026-07-31 16:35:02 +08:00
committed by Zhang Wen Xu
parent fbb0518b1a
commit f067fcd689
5 changed files with 99 additions and 107 deletions

View File

@@ -0,0 +1,22 @@
/*
* SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <stdbool.h>
#include "esp_phy_init.h"
#ifdef __cplusplus
extern "C" {
#endif
#if CONFIG_ESP_PHY_RECORD_USED_TIME
void phy_record_time(bool enabled, esp_phy_modem_t modem);
#endif
#ifdef __cplusplus
}
#endif