Forum : ST7/STM8
Original Post
Post Information | Post |
---|---|
April 21, 2010 - 9:11am
|
More weird code from a student. The program has a delay function, declared as
and called when required using something like
The function uses one of the on board timers to generate a 1ms delay. That part works correctly. In some places the student used
and this compiles without errors or warnings. No idea if that is expected behaviour, but I would have expected the compiler to complain about that. Using RKit-STM8 2.26.09.0317, default project settings. |
No it isn't a bug.
It's like:
or
Stéphane