@@ -173,78 +173,6 @@ uint8_t competition_is_switch(void);
173173extern " C" {
174174namespace pros {
175175#endif
176- /* *
177- * Gets the current voltage of the battery, as reported by VEXos.
178- *
179- * This function uses the following values of errno when an error state is
180- * reached:
181- * EACCES - Another resource is currently trying to access the battery port.
182- *
183- * \return The current voltage of the battery
184- *
185- * \b Example
186- * \code
187- * void initialize() {
188- * printf("Battery's Voltage: %d\n", battery_get_voltage());
189- * }
190- * \endcode
191- */
192- int32_t battery_get_voltage (void );
193-
194- /* *
195- * Gets the current current of the battery, as reported by VEXos.
196- *
197- * This function uses the following values of errno when an error state is
198- * reached:
199- * EACCES - Another resource is currently trying to access the battery port.
200- *
201- * \return The current current of the battery
202- *
203- * \b Example
204- * \code
205- * void initialize() {
206- * printf("Battery Current: %d\n", battery_get_current());
207- * }
208- * \endcode
209- */
210- int32_t battery_get_current (void );
211-
212- /* *
213- * Gets the current temperature of the battery, as reported by VEXos.
214- *
215- * This function uses the following values of errno when an error state is
216- * reached:
217- * EACCES - Another resource is currently trying to access the battery port.
218- *
219- * \return The current temperature of the battery
220- *
221- * \b Example
222- * \code
223- * void initialize() {
224- * printf("Battery's Temperature: %d\n", battery_get_temperature());
225- * }
226- * \endcode
227- */
228- double battery_get_temperature (void );
229-
230- /* *
231- * Gets the current capacity of the battery, as reported by VEXos.
232- *
233- * This function uses the following values of errno when an error state is
234- * reached:
235- * EACCES - Another resource is currently trying to access the battery port.
236- *
237- * \return The current capacity of the battery
238- *
239- * \b Example
240- * \code
241- * void initialize() {
242- * printf("Battery Level: %d\n", battery_get_capacity());
243- * }
244- * \endcode
245- */
246- double battery_get_capacity (void );
247-
248176/* *
249177 * Checks if the SD card is installed.
250178 *
0 commit comments