1
0
Fork 0

Eliminate an unused OpenDevice

This commit is contained in:
John Bintz 2022-11-25 11:15:45 -05:00
parent d9faf6bba4
commit b9a20e529c
2 changed files with 0 additions and 5 deletions

BIN
main

Binary file not shown.

5
main.c
View File

@ -169,11 +169,6 @@ int setup(void) {
if (NULL == (TimerIO = (struct timerequest *)CreateExtIO(timerPort, sizeof(struct timerequest)))) {
return 0;
}
// OpenDevice returns an error code on failure, 0 on success, like a Unix command
// Give OpenDevice the thing we will use to communicate with the timer device
if (0 != (OpenDevice(TIMERNAME, UNIT_MICROHZ, (struct IORequest *)TimerIO, 0L))) {
return 0;
}
if (NULL == (DataTypesBase = OpenLibrary("datatypes.library", 40))) {
// this is ok, we just won't play sound