PIC16 - please change Interrupt to interrupt

Timer Calculator is a free software development tool used for easier calculation of timer interrupts.
Post Reply
Author
Message
hexreader
Posts: 1785
Joined: 27 Jun 2010 12:07
Location: England

PIC16 - please change Interrupt to interrupt

#1 Post by hexreader » 26 Sep 2020 13:27

Timer Calculator is a great tool, but I discovered a nasty bug that is hard to find when I come across it.

PIC16 C code produces a function called "Interrupt" capital I

When C compiler case sensitivity is turned off, this is not a problem, but with case sensitivity turned on, the interrupt function quietly gets ignored and no interrupt occurs.

There is no compiler warning (since Interrupt() is presumably a valid function, just not recognise as special interrupt function) but working code mysteriously stops working when changing case sensitivity.

Please would you pass on a request for next version of Timer Calculator to always output interrupt - lower case i

Many thanks
Start every day with a smile...... (get it over with) :)

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: PIC16 - please change Interrupt to interrupt

#2 Post by filip » 30 Sep 2020 07:46

Hi,

Thank you for pointing out this, I have reported this to our developers.

Regards,
Filip.

hexreader
Posts: 1785
Joined: 27 Jun 2010 12:07
Location: England

Re: PIC16 - please change Interrupt to interrupt

#3 Post by hexreader » 30 Sep 2020 10:42

Thanks Filip :)
Start every day with a smile...... (get it over with) :)

Post Reply

Return to “Timer Calculator”