Changed to using the volatile keyword for the port pointers.
This commit is contained in:
parent
3cee05065a
commit
8c75dee9e0
|
@ -17,9 +17,9 @@
|
|||
* Represents an individual relay.
|
||||
*/
|
||||
typedef struct Relay {
|
||||
void *output_port;
|
||||
volatile void *output_port;
|
||||
uint8_t output_pin;
|
||||
void *input_port;
|
||||
volatile void *input_port;
|
||||
uint8_t input_pin;
|
||||
uint16_t make_time;
|
||||
uint16_t break_time;
|
||||
|
|
Loading…
Reference in New Issue