chamnit/grbl — comment on commit e8a6bfd179a594fd8237f5f9720bb337f758760c
File:  line 0
By cody82:

Well, you simply can't call the delay functions with variable arguments. I saw that grbl calculates the delay based on some variables and then passes it to delay_ms(). As I don't know what that delay is for I didn't fix it. Depending on how long and how precise that timing has to be one possible solution would be to just call delay_ms() multiple times with a constant value.
Example: I want 5ms delay, so call delay_ms() 5 times with constant argument 1.
This example of course would not work for delays smaller than 1ms.
Of course I could just get an older avr-gcc, but I think it would be nicer to just fix it.:)