From c3b9cde9170791a041b09ff91e3fedeef6100214 Mon Sep 17 00:00:00 2001 From: pa-pa <(none)> Date: Mon, 15 Feb 2021 10:42:09 +0100 Subject: [PATCH] rename peer(index) to peerat(index) --- Channel.h | 18 +++++++++--------- Device.h | 6 +++--- examples/HM-SEC-SD/HM-SEC-SD.ino | 3 +-- 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/Channel.h b/Channel.h index 35b3819f..88ce240c 100644 --- a/Channel.h +++ b/Channel.h @@ -71,7 +71,7 @@ class Channel { bool has (const Peer& p) const { for( uint8_t i=0; i { virtual bool inhibit () const { return ch.inhibit(); } virtual bool aesActive () const { return ch.aesActive(); } virtual bool has (const Peer& p) const { return ch.has(p); }; - virtual Peer peer (uint8_t idx) const { return ch.peer(idx); } + virtual Peer peerat (uint8_t idx) const { return ch.peerat(idx); } virtual bool peer (const Peer& p) { return ch.peer(p); } virtual bool peer (const Peer& p1,const Peer& p2) { return ch.peer(p1,p2); } virtual bool deletepeer (const Peer& p) { return ch.deletepeer(p); } diff --git a/Device.h b/Device.h index 30d7adcb..f61b3598 100644 --- a/Device.h +++ b/Device.h @@ -447,7 +447,7 @@ class Device { uint8_t current=0; uint8_t* buf=pm.data(); for( uint8_t i=0; i