docs: add code comment
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 9 Aug 2023 00:07:51 +0000 (02:07 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 9 Aug 2023 00:07:51 +0000 (02:07 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ChargingStation.ts

index 23c51265adb587d1afc6e71771bf19dc17b08d5b..6e5ca1dec8f9a8504edf31349132ed310dc42591 100644 (file)
@@ -2073,7 +2073,7 @@ export class ChargingStation {
     return this.stationInfo.autoReconnectMaxRetries ?? -1;
   }
 
-  // 0 for disabling
+  // -1 for unlimited, 0 for disabling
   private getRegistrationMaxRetries(): number | undefined {
     return this.stationInfo.registrationMaxRetries ?? -1;
   }