r/ArduinoHelp • u/Cosplay_Pappy • 25d ago
Bluepad32 end curly bracket error
/r/esp32projects/comments/1xp1ubo/bluepad32_end_curly_bracket_error/I hope someone can help with this. I’ve been trying to use Bluepad32 to pair a ps5 controller with my esp32-s3. I need it to control a music player and four servos. My code is fine and has all closed curly brackets, but the verify output keeps telling me I need an ending curly brackets after input at the very end of my code. I think it has to do with the FreeRTOS file.
I have no idea how to fix this. Please help! I’ve been trying to fix this for several days. If I add the curly bracket to the FreeRTOS file, it just breaks more.
1
Upvotes
View all comments
Show parent comment
1
u/gm310509 21d ago
I'm sorry that you feel I am being rude. Also I don't understand why you would feel that way.
Perhaps if you could clarify where you feel I am being rude I can explain that part more clearly.
But for now, you have provided some code. I don't know what it does and I don't have spare time to read through it to figure it out. I did note that there are a lot of includes and that that is unusual, and likely unnecessary. As a result the answer to your question is that you could probably remove most of them.
I also went on to explain how the compiler works and tried to use an analogy as to share why all those includes just creates overheads.
I'm sorry that you feel I was being rude. That was not my intent.
But since you do feel that way, hopefully someone else will help you.