URL
https://opencores.org/ocsvn/sockit_owm/sockit_owm/trunk
Subversion Repositories sockit_owm
Compare Revisions
- This comparison shows the changes necessary to convert path
/sockit_owm/trunk/HAL
- from Rev 3 to Rev 5
- ↔ Reverse comparison
Rev 3 → Rev 5
/src/sockit_owm.c
32,9 → 32,10
* * |
******************************************************************************/ |
|
// this header would be used if a proper file handler could be assidned, |
// but due to global variables in the public domain kit, this is not possible |
//#include <fcntl.h> |
|
#include <fcntl.h> |
|
#include "sys/alt_dev.h" |
#include "sys/alt_irq.h" |
#include "sys/ioctl.h" |
83,7 → 84,7
#endif |
{ |
// clear onewire interrupts |
IORD_SOCKIT_OWM (sockit_owm.base); |
IORD_SOCKIT_OWM_CTL (sockit_owm.base); |
// set the flag indicating a completed 1-wire cycle |
ALT_FLAG_POST (sockit_owm.irq, 0x1, OS_FLAG_SET); |
} |