expected fucntion body after function declaration | Cypress Semiconductor
expected fucntion body after function declaration
I am modifying someone else's code. This is for a ham radio project. At some point in time, with some previous version of Creator the attached code worked. I have no idea what that version was. The issue that I am experiencing is the when viewing the main.c source of the bootloader project is reporting: "expected function body after function declaration" at the line:
Also, there many errors reported when viewing the morse_isr.c file. I'm sure it is something simple that I am over looking but I can't seem to clear the message(s) and I have a feeling this is causing the project not to function correctly. However, the code does compile without errors or warnings. I'm confused
Background info: The bootloader senses a "boot" pin and if active, initiates an interrupt routine to blink a led with a message, "BOOT" in this case and calls bootloader_start(). This is so Creator 3 bootloader host may upload new firmware. (Note: the led_test is a bootloadble project for testing to determine if the bootloader project is functioning correctly)
If the pin is not active, it passes through this and starts the main program.
If the new firmware is uploaded to the device with the miniprog3, the device simply does nothing. The USB interface is not activated and the LED does not blink.
I hope this makes sense. Sorry for the multiple fonts. IE does not play well with this web site. Thanks, Ron