Fixes #7514
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>