Skip to content

Commit 020c793

Browse files
authored
Merge pull request adafruit#10810 from dhalbert/merge-from-10.0.x
Merge from 10.0.x
2 parents 10680d6 + 7d72ac9 commit 020c793

File tree

6 files changed

+14
-11
lines changed

6 files changed

+14
-11
lines changed

locale/circuitpython.pot

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1659,10 +1659,6 @@ msgstr ""
16591659
msgid "Not playing"
16601660
msgstr ""
16611661

1662-
#: shared-module/jpegio/JpegDecoder.c
1663-
msgid "Not supported JPEG standard"
1664-
msgstr ""
1665-
16661662
#: ports/espressif/common-hal/paralleldisplaybus/ParallelBus.c
16671663
#: ports/espressif/common-hal/sdioio/SDCard.c
16681664
#, c-format
@@ -2388,6 +2384,10 @@ msgid ""
23882384
"declined or ignored."
23892385
msgstr ""
23902386

2387+
#: shared-module/jpegio/JpegDecoder.c
2388+
msgid "Unsupported JPEG (may be progressive)"
2389+
msgstr ""
2390+
23912391
#: shared-bindings/bitmaptools/__init__.c
23922392
msgid "Unsupported colorspace"
23932393
msgstr ""

ports/espressif/bindings/espcamera/Camera.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ static mp_obj_t espcamera_camera_reconfigure(mp_uint_t n_args, const mp_obj_t *p
261261
args[ARG_grab_mode].u_obj != MP_ROM_NONE
262262
? validate_grab_mode(args[ARG_grab_mode].u_obj, MP_QSTR_grab_mode)
263263
: common_hal_espcamera_camera_get_grab_mode(self);
264-
bool framebuffer_count =
264+
mp_int_t framebuffer_count =
265265
args[ARG_framebuffer_count].u_obj != MP_ROM_NONE
266266
? mp_obj_get_int(args[ARG_framebuffer_count].u_obj)
267267
: common_hal_espcamera_camera_get_framebuffer_count(self);

ports/espressif/boards/lilygo_tdongle_s3/mpconfigboard.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,8 @@
1111
#define MICROPY_HW_BOARD_NAME "LILYGO T-Dongle S3"
1212
#define MICROPY_HW_MCU_NAME "ESP32S3"
1313

14-
#define DEFAULT_UART_BUS_RX (&pin_GPIO44)
15-
#define DEFAULT_UART_BUS_TX (&pin_GPIO43)
14+
#define MICROPY_HW_APA102_MOSI (&pin_GPIO40)
15+
#define MICROPY_HW_APA102_SCK (&pin_GPIO39)
16+
17+
#define DEFAULT_I2C_BUS_SCL (&pin_GPIO44)
18+
#define DEFAULT_I2C_BUS_SDA (&pin_GPIO43)

shared-bindings/_bleio/PacketBuffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ void common_hal_bleio_packet_buffer_construct(
2525
void _common_hal_bleio_packet_buffer_construct(
2626
bleio_packet_buffer_obj_t *self, bleio_characteristic_obj_t *characteristic,
2727
uint32_t *incoming_buffer, size_t incoming_buffer_size,
28-
uint32_t *outgoing_buffer1, uint32_t *outgoing_buffer2, size_t outgoing_buffer_size,
28+
uint32_t *outgoing_buffer1, uint32_t *outgoing_buffer2, size_t max_packet_size,
2929
ble_event_handler_t *static_handler_entry);
3030
#endif
3131
mp_int_t common_hal_bleio_packet_buffer_write(bleio_packet_buffer_obj_t *self, const uint8_t *data, size_t len, uint8_t *header, size_t header_len);

shared-bindings/time/__init__.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
//|
2323
//|
2424
//| def monotonic() -> float:
25-
//| """Returns an always increasing value of time with an unknown reference
25+
//| """Returns an always increasing value of time, in fractional seconds, with an unknown reference
2626
//| point. Only use it to compare against other values from `time.monotonic()`
2727
//| during the same code run.
2828
//|
2929
//| On most boards, `time.monotonic()` converts a 64-bit millisecond tick counter
30-
//| to a float. Floats on most boards are encoded in 30 bits internally, with
30+
//| to seconds, as a float. Floats on most boards are encoded in 30 bits internally, with
3131
//| effectively 22 bits of precision. The float returned by `time.monotonic()` will
3232
//| accurately represent time to millisecond precision only up to 2**22 milliseconds
3333
//| (about 1.165 hours).

shared-module/jpegio/JpegDecoder.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static void check_jresult(JRESULT j) {
4646
msg = MP_ERROR_TEXT("Right format but not supported");
4747
break;
4848
case JDR_FMT3:
49-
msg = MP_ERROR_TEXT("Not supported JPEG standard");
49+
msg = MP_ERROR_TEXT("Unsupported JPEG (may be progressive)");
5050
break;
5151
}
5252
mp_raise_RuntimeError(msg);

0 commit comments

Comments
 (0)