File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3737 * FUNCTION DEFINITION
3838 ******************************************************************************/
3939
40- int portenta_h7_onOTARequest (char const * ota_url, bool use_ethernet)
40+ int portenta_h7_onOTARequest (char const * ota_url, const bool use_ethernet)
4141{
4242 watchdog_reset ();
4343
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ int rp2040_connect_onOTARequest(char const * ota_url);
6363#endif
6464
6565#ifdef BOARD_STM32H7
66- int portenta_h7_onOTARequest (char const * ota_url , bool use_ethernet );
66+ int portenta_h7_onOTARequest (char const * ota_url , const bool use_ethernet );
6767#endif
6868
6969#endif /* ARDUINO_OTA_LOGIC_H_ */
Original file line number Diff line number Diff line change 2525#if defined (ARDUINO_ARCH_SAMD ) || defined (ARDUINO_ARCH_MBED )
2626void watchdog_enable ();
2727void watchdog_reset ();
28- void watchdog_enable_network_feed (bool use_ethernet );
28+ void watchdog_enable_network_feed (const bool use_ethernet );
2929#endif /* (ARDUINO_ARCH_SAMD) || (ARDUINO_ARCH_MBED) */
3030
3131#ifdef ARDUINO_ARCH_MBED
You can’t perform that action at this time.
0 commit comments