Skip to content

Commit c920dbb

Browse files
committed
Skip unecessary check for space
1 parent 8061e8e commit c920dbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ STATIC vm_memory_t allocate_vm_memory(void) {
149149
(void)common_hal_os_getenv_int("CIRCUITPY_PYSTACK_SIZE", &pystack_size);
150150
// Check if value is valid
151151
pystack_size = pystack_size - pystack_size % sizeof(size_t); // Round down to multiple of 4.
152-
if ((CIRCUITPY_PYSTACK_SIZE != pystack_size) && (pystack_size < 384)) {
152+
if (pystack_size < 384) {
153153
serial_write_compressed(translate("\nWARNING: Invalid CIRCUITPY_PYSTACK_SIZE, defaulting back to build value.\n\n"));
154154
pystack_size = CIRCUITPY_PYSTACK_SIZE; // Reset
155155
}

0 commit comments

Comments
 (0)