Important update: Arm Announces End of Life Timeline for Mbed. This site will be archived in July 2026. Read the full announcement.
Compiler Error 169
Table of Contents
" expected a declaration "¶
You probably have a closing bracket with no opening bracket anywhere before it (the compiler thinks you're trying to close a declaration that doesn't exist).
You also will get this error if you inadvertently type a semicolon at the end of a function declaration:
void SendPacket(int packet2send[]); { test = sizeofpacket; counter = 0; etc... }