mirror of
https://github.com/licsber/micropython.git
synced 2024-09-19 08:39:38 +08:00
docs/develop/porting: Fix argument type of mp_lexer_new_from_file().
Follow up to 5015779a6f
.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
c41b421d48
commit
f9df08d8ee
@ -83,7 +83,7 @@ The basic MicroPython firmware is implemented in the main port file, e.g ``main.
|
||||
}
|
||||
|
||||
// There is no filesystem so opening a file raises an exception.
|
||||
mp_lexer_t *mp_lexer_new_from_file(const char *filename) {
|
||||
mp_lexer_t *mp_lexer_new_from_file(qstr filename) {
|
||||
mp_raise_OSError(MP_ENOENT);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user