diff --git a/Lab_1/TestEncoderAAR.c b/Lab_1/TestEncoderAAR.c index 21f380a..c2608a7 100644 --- a/Lab_1/TestEncoderAAR.c +++ b/Lab_1/TestEncoderAAR.c @@ -52,6 +52,8 @@ int main() } +// Could be implemented as a C macro, which would be faster +// but I've forgotten how to define C macros enum states get_state() { /* If A is 0 and B is 0, system is in State 1