This PR changes everything of type boolean to be of type bool. The two types are equivalent: the Arduino AVR core just typedefs boolean to bool, so no downstream code should be affected by this change. According to the Arduino Reference, the standard bool type is preferred to boolean; some cores (e.g. STM32Duino) even deprecate the boolean type alias.
This change should not break any code, given that boolean is an alias for the standard bool. If anything, it will make it the library work more broadly as it will work with Arduino-compatible boards that don't define a boolean type.
This PR changes everything of type
boolean
to be of typebool
. The two types are equivalent: the Arduino AVR core just typedefsboolean
tobool
, so no downstream code should be affected by this change. According to the Arduino Reference, the standardbool
type is preferred toboolean
; some cores (e.g. STM32Duino) even deprecate theboolean
type alias.This change should not break any code, given that
boolean
is an alias for the standardbool
. If anything, it will make it the library work more broadly as it will work with Arduino-compatible boards that don't define aboolean
type.