summaryrefslogtreecommitdiff
path: root/shared-module/canio/Match.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2020-10-01 11:04:21 -0700
committerGitHub <noreply@github.com>2020-10-01 11:04:21 -0700
commitc27e3857b6d2a1d162f8ea977ca1e99cbfb6417b (patch)
tree57f53828546685100ec2c909af7ae45db1fb1e20 /shared-module/canio/Match.c
parente477d27be36cf78ac4a7166aa18604b2f0bc910a (diff)
parentb9890f2d420665a96fcf56e196d36d0fc1032b66 (diff)
Merge branch 'main' into framebuffer-zero-size
Diffstat (limited to 'shared-module/canio/Match.c')
-rw-r--r--shared-module/canio/Match.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/shared-module/canio/Match.c b/shared-module/canio/Match.c
index 9e33b956f..b4e8616e9 100644
--- a/shared-module/canio/Match.c
+++ b/shared-module/canio/Match.c
@@ -26,14 +26,14 @@
#include "shared-module/canio/Match.h"
-void common_hal_canio_match_construct(canio_match_obj_t *self, int address, int mask, bool extended) {
- self->address = address;
+void common_hal_canio_match_construct(canio_match_obj_t *self, int id, int mask, bool extended) {
+ self->id = id;
self->mask = mask;
self->extended = extended;
}
-int common_hal_canio_match_get_address(const canio_match_obj_t *self) {
- return self->address;
+int common_hal_canio_match_get_id(const canio_match_obj_t *self) {
+ return self->id;
}
int common_hal_canio_match_get_mask(const canio_match_obj_t *self) {
return self->mask;