https://mixrolikus.cc/video/bAGT0dOwFjY/nested-and-infinite-loops-in-embedded-c-and-c