Skip to content

Conversation

@ewowi
Copy link
Collaborator

@ewowi ewowi commented Nov 6, 2024

Hi hpwit,

In order to catch compile errors in the UI I created this PR.

By this StarLight can show it like this, also if the board is not connected via USB :

image

It also makes your code simpler e.g.

#ifdef __CONSOLE_ESP32
  string _d = string_format("Creation of an %d bytes binary and %d bytes data", _instr_size, _size);
  LedOS.pushToConsole(_d);
#else
  printf("Creation of an %d bytes binary and %d bytes data\r\n", _instr_size, _size);
#endif

is now replaced by

pushToConsole("Creation of an %d bytes binary and %d bytes data\r\n", _instr_size, _size);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant