[fpc-pascal] AVR Busy Wait implementation
    Florian Klämpfl 
    florian at freepascal.org
       
    Sun Jan 17 23:15:45 CET 2016
    
    
  
Am 17.01.2016 um 22:01 schrieb Simon Ameis:
> I've now come up with the code below.
> 
> The main problem is, that FPC doesn't inline the procedure _delay_ms.
> Thus the calculation of the required ticks is done at runtime wich
> timing is merely unpredictable.
> 
> What must be done to get this procedure inlined?
> 
Here it does. Did you add {$inline on} ?
    
    
More information about the fpc-pascal
mailing list