Skip to content

Commit ea36c62

Browse files
committed
add comment for the delay in analogout_api.c
see analogout_init()
1 parent 36e01ef commit ea36c62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_Realtek/TARGET_AMEBA/analogout_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ void analogout_init(dac_t *obj, PinName pin)
8282

8383
pHalDacInitData->DACEn = DAC_ENABLE;
8484
HalDACEnableRtl8195a(pHalDacInitData);
85-
osDelay(10);
85+
osDelay(6); //hardware needs some time to get ready
8686
}
8787

8888
/** \brief analogout_free:\n

0 commit comments

Comments
 (0)