Skip to content

Commit

Permalink
drivers: flash: spi_nor: doc: correct comment
Browse files Browse the repository at this point in the history
the durations in the spi_nor_config struct
are in milliseconds not in microseconds.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
  • Loading branch information
maass-hamburg authored and nashif committed Jul 27, 2024
1 parent db5a5fa commit ba5b4ae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions drivers/flash/spi_nor.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,16 @@ struct spi_nor_config {
#endif

#if ANY_INST_HAS_DPD
uint16_t t_enter_dpd; /* in microseconds */
uint16_t t_dpdd_ms; /* in microseconds */
uint16_t t_enter_dpd; /* in milliseconds */
uint16_t t_dpdd_ms; /* in milliseconds */
#if ANY_INST_HAS_T_EXIT_DPD
uint16_t t_exit_dpd; /* in microseconds */
uint16_t t_exit_dpd; /* in milliseconds */
#endif
#endif

#if ANY_INST_HAS_DPD_WAKEUP_SEQUENCE
uint16_t t_crdp_ms; /* in microseconds */
uint16_t t_rdp_ms; /* in microseconds */
uint16_t t_crdp_ms; /* in milliseconds */
uint16_t t_rdp_ms; /* in milliseconds */
#endif

#if ANY_INST_HAS_MXICY_MX25R_POWER_MODE
Expand Down

0 comments on commit ba5b4ae

Please sign in to comment.