tomassch / Dekrispator

Experimental Music synthesizer based on an STM32F4 Discovery board (ARM Cortex M4F) with USB MIDI Host function for interaction and automatic mode.
1 stars 3 forks source link

Implicit declarations of newNoteArrived and noteToBeKillled #3

Open tomassch opened 10 years ago

tomassch commented 10 years ago

Just put the right prototypes/includes

Building file: ../Synth/midi_interface.c Invoking: Cross ARM C Compiler arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O3 -ffunction-sections -fdata-sections -fno-builtin -fsingle-precision-constant -flto -Wall -DSTM32F40_41xxx -D__FPU_USED=1 -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -DSTM32F407VG -I../Synth -I../USB -I../USB/MIDIstream_class -I../Lib/STM32F4xx_StdPeriph_Driver/inc -I../Lib/STM32_USB_OTG_Driver/inc -I../Lib/STM32_USB_HOST_Library/Core/inc -I../System -std=gnu99 -flto -MMD -MP -MF"Synth/midi_interface.d" -MT"Synth/midi_interface.d" -c -o "Synth/midi_interface.o" "../Synth/midi_interface.c" ../Synth/midi_interface.c: In function 'MIDI_Decode': ../Synth/midi_interface.c:142:17: warning: implicit declaration of function 'noteToBeKilled' [-Wimplicit-function-declaration] noteToBeKilled(outBuf[2]); ^ ../Synth/midi_interface.c:144:17: warning: implicit declaration of function 'newNoteArrived' [-Wimplicit-function-declaration] newNoteArrived(outBuf[2],outBuf[3]); ^ Finished building: ../Synth/midi_interface.c