From ae5dc423551d218566f476b3402b2045a479b98c Mon Sep 17 00:00:00 2001 From: SimonGurney Date: Tue, 13 Apr 2021 20:57:24 +0100 Subject: [PATCH] Update DLink.h Changed int to short as int can be either 16 or 32 bit, depending on the board. See https://www.arduino.cc/reference/en/language/variables/data-types/int/ --- DLink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DLink.h b/DLink.h index f6a0d49..d513d17 100644 --- a/DLink.h +++ b/DLink.h @@ -10,7 +10,7 @@ // データフレーム型 // 1回のデータ送信で使用する16bitのパケット //-------------------------------------------------- -typedef unsigned int dframe; +typedef unsigned short dframe; //-------------------------------------------------- // DLinkクラス