Skip to content
This repository has been archived by the owner on Apr 23, 2023. It is now read-only.

Commit

Permalink
Fixed "unused variable" warning in rtc.c
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenHeartcore committed Dec 4, 2022
1 parent 6875c25 commit 5bf3d88
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion student-distrib/rtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ void rtc_init(void) {
* side effect: "freq" will be reset to default (2 Hz)
*/
int rtc_open(const uint8_t* filename) {
int i;
freq[cur_sch_index] = 2;
rtc_int_occurred[cur_sch_index] = 0;
return 0;
Expand Down

0 comments on commit 5bf3d88

Please sign in to comment.