File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 8
8
msgstr ""
9
9
"Project-Id-Version : PACKAGE VERSION\n "
10
10
"Report-Msgid-Bugs-To : \n "
11
- "POT-Creation-Date : 2020-11-01 11:11 +0530\n "
11
+ "POT-Creation-Date : 2020-11-04 21:18 +0530\n "
12
12
"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13
13
"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
14
14
"
Language-Team :
LANGUAGE <[email protected] >\n "
@@ -296,6 +296,10 @@ msgstr ""
296
296
msgid "All I2C peripherals are in use"
297
297
msgstr ""
298
298
299
+ #: ports/esp32s2/peripherals/pcnt_handler.c
300
+ msgid "All PCNT units in use"
301
+ msgstr ""
302
+
299
303
#: ports/atmel-samd/common-hal/canio/Listener.c
300
304
#: ports/esp32s2/common-hal/canio/Listener.c
301
305
#: ports/stm/common-hal/canio/Listener.c
@@ -1272,10 +1276,6 @@ msgstr ""
1272
1276
msgid "No MOSI Pin"
1273
1277
msgstr ""
1274
1278
1275
- #: ports/esp32s2/pcnt_handler.c
1276
- msgid "No PCNT unit free"
1277
- msgstr ""
1278
-
1279
1279
#: ports/atmel-samd/common-hal/busio/UART.c
1280
1280
#: ports/esp32s2/common-hal/busio/UART.c
1281
1281
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
Original file line number Diff line number Diff line change @@ -173,7 +173,6 @@ SRC_C += \
173
173
background.c \
174
174
fatfs_port.c \
175
175
mphalport.c \
176
- pcnt_handler.c \
177
176
bindings/espidf/__init__.c \
178
177
boards/$(BOARD ) /board.c \
179
178
boards/$(BOARD ) /pins.c \
@@ -189,6 +188,7 @@ SRC_C += \
189
188
lib/utils/pyexec.c \
190
189
lib/utils/stdout_helpers.c \
191
190
lib/utils/sys_stdio_mphal.c \
191
+ peripherals/pcnt_handler.c \
192
192
peripherals/pins.c \
193
193
peripherals/rmt.c \
194
194
supervisor/shared/memory.c
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ void pcnt_handler_init(pcnt_config_t* pcnt_config) {
42
42
pcnt_state [i ] = PCNT_UNIT_ACTIVE ;
43
43
break ;
44
44
} else if (i == 3 ) {
45
- mp_raise_RuntimeError (translate ("No PCNT unit free " ));
45
+ mp_raise_RuntimeError (translate ("All PCNT units in use " ));
46
46
}
47
47
}
48
48
Original file line number Diff line number Diff line change 24
24
* THE SOFTWARE.
25
25
*/
26
26
27
- #ifndef MICROPY_INCLUDED_ESP32S2_PCNT_HANDLER_H
28
- #define MICROPY_INCLUDED_ESP32S2_PCNT_HANDLER_H
27
+ #ifndef MICROPY_INCLUDED_ESP32S2_PERIPHERALS_PCNT_HANDLER_H
28
+ #define MICROPY_INCLUDED_ESP32S2_PERIPHERALS_PCNT_HANDLER_H
29
29
30
30
#include "driver/pcnt.h"
31
31
32
32
extern void pcnt_handler_init (pcnt_config_t * pcnt_config );
33
33
extern void pcnt_handler_deinit (pcnt_unit_t * unit );
34
34
35
- #endif // MICROPY_INCLUDED_ESP32S2_PCNT_HANDLER_H
35
+ #endif // MICROPY_INCLUDED_ESP32S2_PERIPHERALS_PCNT_HANDLER_H
You can’t perform that action at this time.
0 commit comments