From 594aebd9031e85487c4970ccaf01f3143f78843f Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Tue, 28 May 2019 22:50:06 +0200 Subject: [PATCH] Fix comment --- m-serial-json.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m-serial-json.h b/m-serial-json.h index 5b1ee8e1..a4b82485 100644 --- a/m-serial-json.h +++ b/m-serial-json.h @@ -306,7 +306,7 @@ m_serial_json_read_boolean(m_serial_read_t serial, bool *b){ } /* Read from the stream 'serial' an integer that can be represented with 'size_of_type' bytes. - Set '*i' with the boolean value if succeeds + Set '*i' with the integer value if succeeds Return M_SERIAL_OK_DONE if it succeeds, M_SERIAL_FAIL otherwise */ static inline m_serial_return_code_t m_serial_json_read_integer(m_serial_read_t serial, long long *i, const size_t size_of_type){