File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,26 @@ int microbit_hal_temperature(void) {
76
76
return mp_js_hal_temperature ();
77
77
}
78
78
79
+ void microbit_hal_power_clear_wake_sources (void ) {
80
+ // Stub, unsupported.
81
+ }
82
+
83
+ void microbit_hal_power_wake_on_button (int button , bool wake_on_active ) {
84
+ // Stub, unsupported.
85
+ }
86
+
87
+ void microbit_hal_power_wake_on_pin (int pin , bool wake_on_active ) {
88
+ // Stub, unsupported.
89
+ }
90
+
91
+ void microbit_hal_power_off (void ) {
92
+ // Stub, unsupported.
93
+ }
94
+
95
+ void microbit_hal_power_deep_sleep (bool wake_on_ms , uint32_t ms ) {
96
+ // Stub, unsupported.
97
+ }
98
+
79
99
void microbit_hal_pin_set_pull (int pin , int pull ) {
80
100
//pin_obj[pin]->setPull(pin_pull_mode_mapping[pull]);
81
101
//pin_pull_state[pin] = pull;
You can’t perform that action at this time.
0 commit comments