File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 35
35
* FUNCTION DEFINITION
36
36
******************************************************************************/
37
37
38
- int portenta_h7_onOTARequest (char const * ota_url, bool use_ethernet)
38
+ int portenta_h7_onOTARequest (char const * ota_url, const bool use_ethernet)
39
39
{
40
40
watchdog_reset ();
41
41
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ int rp2040_connect_onOTARequest(char const * ota_url);
63
63
#endif
64
64
65
65
#if defined(ARDUINO_PORTENTA_H7_M7 ) || defined(ARDUINO_NICLA_VISION )
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 );
67
67
#endif
68
68
69
69
#endif /* ARDUINO_OTA_LOGIC_H_ */
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ static void mbed_watchdog_reset()
122
122
}
123
123
}
124
124
125
- static void mbed_watchdog_enable_network_feed (bool use_ethernet)
125
+ static void mbed_watchdog_enable_network_feed (const bool use_ethernet)
126
126
{
127
127
if (use_ethernet) {
128
128
#if defined(ARDUINO_PORTENTA_H7_M7)
@@ -174,7 +174,7 @@ void watchdog_reset()
174
174
#endif
175
175
}
176
176
177
- void watchdog_enable_network_feed (bool use_ethernet)
177
+ void watchdog_enable_network_feed (const bool use_ethernet)
178
178
{
179
179
#ifdef ARDUINO_ARCH_SAMD
180
180
samd_watchdog_enable_network_feed ();
Original file line number Diff line number Diff line change 25
25
#if defined (ARDUINO_ARCH_SAMD ) || defined (ARDUINO_ARCH_MBED )
26
26
void watchdog_enable ();
27
27
void watchdog_reset ();
28
- void watchdog_enable_network_feed (bool use_ethernet );
28
+ void watchdog_enable_network_feed (const bool use_ethernet );
29
29
#endif /* (ARDUINO_ARCH_SAMD) || (ARDUINO_ARCH_MBED) */
30
30
31
31
#ifdef ARDUINO_ARCH_MBED
You can’t perform that action at this time.
0 commit comments