Multiple definitions of a function | Cypress Semiconductor
Multiple definitions of a function
I have created a function named "keypad". then I have placed the function in a header file called "keypad.h".
then I have used the keypad function all over the different ISRs. when I build the project I get this error:
Build error: multiple definition of `keypad'
I am quite sure that it is only defined once. so what is the problem?