summaryrefslogtreecommitdiff
path: root/source/com_task.h
diff options
context:
space:
mode:
authorDominik Sliwa <dominik.sliwa@toradex.com>2018-03-12 16:35:59 +0100
committerDominik Sliwa <dominik.sliwa@toradex.com>2018-03-12 16:39:42 +0100
commit4d55f719bb2ac2875ad736e10f22a70eac7c3284 (patch)
tree7c2e423d25266a69ee2cdb71b76e78b9fad77591 /source/com_task.h
parent4a48136e9c6d55ff9d9427a91ef43d44d26333d7 (diff)
can, adc fixes
CAN: -clear CANINTF_TX on read, this improves TX performance, -fix possible race-condition and implement errata 5641 ADC -allow for non-bulk read Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Diffstat (limited to 'source/com_task.h')
-rw-r--r--source/com_task.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/com_task.h b/source/com_task.h
index 72ca858..46728ac 100644
--- a/source/com_task.h
+++ b/source/com_task.h
@@ -165,7 +165,7 @@ struct register_struct {
uint16_t tsc_yp;
} gen_regs;
-extern uint8_t registers[APALIS_TK1_K20_LAST_REG];
+extern volatile uint8_t registers[APALIS_TK1_K20_LAST_REG];
extern uint8_t resume_can;
#endif /* COM_TASK_H_ */