Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

Commit 970a6a1

Browse files
committed
Fixed module initialization
1 parent 41ba63e commit 970a6a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Adafruit_DHT_Driver_Python/dhtreader.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,13 @@ static struct PyModuleDef moduledef = {
183183
#define INITERROR return NULL
184184

185185
PyObject *
186-
PyInit_myextension(void)
186+
PyInit_dhtreader(void)
187187

188188
#else
189189
#define INITERROR return
190190

191191
void
192-
initmyextension(void)
192+
initdhtreader((void)
193193
#endif
194194
{
195195
#if PY_MAJOR_VERSION >= 3

0 commit comments

Comments
 (0)