feat(example): set default GPIO for esp32-s31 blink example

for both Function-Core Board and Korvo Board
This commit is contained in:
morris
2026-05-29 16:11:04 +08:00
parent 465c4ffc64
commit 587c1aa169
4 changed files with 10 additions and 11 deletions
@@ -272,14 +272,10 @@ static inline void temperature_sensor_ll_set_sample_rate(uint16_t rate)
*/
static inline int temperature_sensor_ll_load_calib_param(void)
{
#ifdef EFUSE_TEMPERATURE_SENSOR
uint32_t cal_temp = EFUSE.rd_sys_part2_data3.temperature_sensor;
// BIT(8) stands for sign: 1: negative, 0: positive
int tsens_cal = ((cal_temp & BIT(8)) != 0) ? -(uint8_t)cal_temp : (uint8_t)cal_temp;
return tsens_cal;
#else
return 0;
#endif
}
#ifdef __cplusplus