Revision 8
Final - macros
lab2.c | ||
---|---|---|
60 | 60 |
int(timer_test_int)(uint8_t time) { |
61 | 61 |
/* To be implemented by the students */ |
62 | 62 |
|
63 |
if(time<0) |
|
64 |
{ |
|
65 |
printf("INVALID TIME!"); |
|
66 |
return 1; |
|
67 |
} |
|
63 |
if(time<0) return 1; |
|
68 | 64 |
|
69 | 65 |
int ipc_status; |
70 | 66 |
message msg; |
Also available in: Unified diff