From b3b70b78cf54ab6329c8675fd44808989f9b75bc Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Tue, 26 Aug 2014 12:03:50 +0200 Subject: [PATCH] Fixed build error in Arduino IDE --- JsonGenerator/IndentedPrint.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JsonGenerator/IndentedPrint.h b/JsonGenerator/IndentedPrint.h index 9f507228..c1aedb0a 100644 --- a/JsonGenerator/IndentedPrint.h +++ b/JsonGenerator/IndentedPrint.h @@ -37,8 +37,8 @@ namespace ArduinoJson size_t writeTabs(); - const int MAX_LEVEL = 15; // because it's only 4 bits - const int MAX_TAB_SIZE = 7; // because it's only 3 bits + static const int MAX_LEVEL = 15; // because it's only 4 bits + static const int MAX_TAB_SIZE = 7; // because it's only 3 bits }; } }