Skip to content

Commit 2ff050e

Browse files
authored
Fix issue with Sleep and wake from sleep (#126)
1 parent c156600 commit 2ff050e

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

nanoFramework.Hardware.Esp32/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
////////////////////////////////////////////////////////////////
1414
// update this whenever the native assembly signature changes //
15-
[assembly: AssemblyNativeVersion("100.0.7.1")]
15+
[assembly: AssemblyNativeVersion("100.0.7.2")]
1616
////////////////////////////////////////////////////////////////
1717

1818
// Setting ComVisible to false makes the types in this assembly not visible

nanoFramework.Hardware.Esp32/Sleep.cs

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -86,71 +86,71 @@ public enum WakeupGpioPin : UInt64
8686
/// <summary>
8787
/// Gpio Pin 2 used for wakeup
8888
/// </summary>
89-
Pin2 = 1 << 2,
89+
Pin2 = (UInt64)1 << 2,
9090
/// <summary>
9191
/// Gpio Pin 4 used for wakeup
9292
/// </summary>
93-
Pin4 = 1 << 4,
93+
Pin4 = (UInt64)1 << 4,
9494
/// <summary>
9595
/// Gpio Pin 12 used for wakeup
9696
/// </summary>
97-
Pin12 = 1 << 12,
97+
Pin12 = (UInt64)1 << 12,
9898
/// <summary>
9999
/// Gpio Pin 13 used for wakeup
100100
/// </summary>
101-
Pin13 = 1 << 13,
101+
Pin13 = (UInt64)1 << 13,
102102
/// <summary>
103103
/// Gpio Pin 14 used for wakeup
104104
/// </summary>
105-
Pin14 = 1 << 14,
105+
Pin14 = (UInt64)1 << 14,
106106
/// <summary>
107107
/// Gpio Pin 15 used for wakeup
108108
/// </summary>
109-
Pin15 = 1 << 15,
109+
Pin15 = (UInt64)1 << 15,
110110
/// <summary>
111111
/// Gpio Pin 25 used for wakeup
112112
/// </summary>
113-
Pin25 = 1 << 25,
113+
Pin25 = (UInt64)1 << 25,
114114
/// <summary>
115115
/// Gpio Pin 26 used for wakeup
116116
/// </summary>
117-
Pin26 = 1 << 26,
117+
Pin26 = (UInt64)1 << 26,
118118
/// <summary>
119119
/// Gpio Pin 27 used for wakeup
120120
/// </summary>
121-
Pin27 = 1 << 27,
121+
Pin27 = (UInt64)1 << 27,
122122
/// <summary>
123123
/// Gpio Pin 32 used for wakeup
124124
/// </summary>
125-
Pin32 = 1 << 32,
125+
Pin32 = (UInt64)1 << 32,
126126
/// <summary>
127127
/// Gpio Pin 33 used for wakeup
128128
/// </summary>
129-
Pin33 = 1 << 33,
129+
Pin33 = (UInt64)1 << 33,
130130
/// <summary>
131131
/// Gpio Pin 34 used for wakeup
132132
/// </summary>
133-
Pin34 = 1 << 34,
133+
Pin34 = (UInt64)1 << 34,
134134
/// <summary>
135135
/// Gpio Pin 35 used for wakeup
136136
/// </summary>
137-
Pin35 = 1 << 35,
137+
Pin35 = (UInt64)1 << 35,
138138
/// <summary>
139139
/// Gpio Pin 36 used for wakeup
140140
/// </summary>
141-
Pin36 = 1 << 36,
141+
Pin36 = (UInt64)1 << 36,
142142
/// <summary>
143143
/// Gpio Pin 37 used for wakeup
144144
/// </summary>
145-
Pin37 = 1 << 37,
145+
Pin37 = (UInt64)1 << 37,
146146
/// <summary>
147147
/// Gpio Pin 38 used for wakeup
148148
/// </summary>
149-
Pin38 = 1 << 38,
149+
Pin38 = (UInt64)1 << 38,
150150
/// <summary>
151151
/// Gpio Pin 39 used for wakeup
152152
/// </summary>
153-
Pin39 = 1 << 39
153+
Pin39 = (UInt64)1 << 39
154154
};
155155

156156
/// <summary>

0 commit comments

Comments
 (0)