| Previous | 15994 Revisions | Next |
| r3055 Sunday 17th August, 2008 at 13:49:03 UTC by Firewave |
|---|
| Removed unnecessary memset() |
| [src/mess/machine] | tc8521.c |
| r3054 | r3055 | |
|---|---|---|
| 296 | 296 | void tc8521_init(const struct tc8521_interface *intf) |
| 297 | 297 | { |
| 298 | 298 | memset(&rtc, 0, sizeof(struct tc8521)); |
| 299 | memset(&rtc.interface, 0, sizeof(struct tc8521_interface)); | |
| 300 | 299 | if (intf) |
| 301 | 300 | memcpy(&rtc.interface, intf, sizeof(struct tc8521_interface)); |
| 302 | 301 | timer_pulse(ATTOTIME_IN_HZ(32), NULL, 0, tc8521_timer_callback); |
| Previous | 15994 Revisions | Next |