fix python build
This commit is contained in:
		@@ -208,12 +208,14 @@ namespace sensors.internal {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    export function getBatteryInfo(): {
 | 
					    export interface BatteryInfo {
 | 
				
			||||||
        level: number;
 | 
					        level: number;
 | 
				
			||||||
        Ibatt: number,
 | 
					        Ibatt: number,
 | 
				
			||||||
        Vbatt: number,
 | 
					        Vbatt: number,
 | 
				
			||||||
        Imotor: number
 | 
					        Imotor: number
 | 
				
			||||||
    } {
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    export function getBatteryInfo(): BatteryInfo {
 | 
				
			||||||
        init();
 | 
					        init();
 | 
				
			||||||
        if (!batteryInfo) updateBatteryInfo();
 | 
					        if (!batteryInfo) updateBatteryInfo();
 | 
				
			||||||
        const CinCnt = batteryInfo.CinCnt;
 | 
					        const CinCnt = batteryInfo.CinCnt;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user