diff --git a/Arduino/UUGear/UUGear.ino b/Arduino/UUGear/UUGear.ino index 7ca4dad..13daf3d 100644 --- a/Arduino/UUGear/UUGear.ino +++ b/Arduino/UUGear/UUGear.ino @@ -84,7 +84,7 @@ void(* resetDevice) (void) = 0; void setup() { // if has no id yet, generate one - if (getID() == "") { + if (getID().startsWith(ID_PREFIX) == false) { generateID(); }