summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/modpyb.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-11-06 01:30:19 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-11-06 01:30:19 +0300
commit8bc3fc20feca9ebe9e9972aeb6b68a81d792c5df (patch)
tree5b20cca6c25356f0d812637ef2a0bdebd34c32c6 /esp8266/modpyb.c
parent3ccdbf792cb04fb5561dae52839b51a854f75808 (diff)
downloadmicropython-8bc3fc20feca9ebe9e9972aeb6b68a81d792c5df.tar.gz
micropython-8bc3fc20feca9ebe9e9972aeb6b68a81d792c5df.zip
esp8266: Rename "machine" module implementation to use contemporary naming.
Previously they used historical "pyb" affix causing confusion and inconsistency (there's no "pyb" module in modern ports; but people took esp8266 port as an example, and "pyb" naming kept proliferating, while other people complained that source structure is not clear).
Diffstat (limited to 'esp8266/modpyb.c')
-rw-r--r--esp8266/modpyb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/esp8266/modpyb.c b/esp8266/modpyb.c
index ba53e71b37..9fe8039bc6 100644
--- a/esp8266/modpyb.c
+++ b/esp8266/modpyb.c
@@ -28,12 +28,12 @@
#include "py/gc.h"
#include "gccollect.h"
-#include "modpyb.h"
+#include "modmachine.h"
// The pyb module no longer exists since all functionality now appears
// elsewhere, in more standard places (eg time, machine modules). The
// only remaining function is pyb.info() which has been moved to the
-// esp module, pending deletion/renaming/moving elsewher.
+// esp module, pending deletion/renaming/moving elsewhere.
STATIC mp_obj_t pyb_info(mp_uint_t n_args, const mp_obj_t *args) {
// print info about memory