Yep, smoke and flames are usually a sign that your electronics aren’t functioning as expected. This is actually the second failure encountered while learning about brushless motor controllers.