Open HBuczynski opened 3 years ago
Currently baudrate is set in 3 places and the value is hard coded: https://github.com/phoenix-rtos/phoenix-rtos-hostutils/blob/545b23f24540f8db7799777ae8389910d4a5ca35/phoenixd/phoenixd.c#L46 https://github.com/phoenix-rtos/phoenix-rtos-hostutils/blob/545b23f24540f8db7799777ae8389910d4a5ca35/phoenixd/phoenixd.c#L297 https://github.com/phoenix-rtos/phoenix-rtos-hostutils/blob/545b23f24540f8db7799777ae8389910d4a5ca35/phoenixd/phoenixd.c#L299 I think that it should be passed to the program as a parameter.
(side note, it's better to use github permalinks to the code, it will render much nicer)
https://github.com/phoenix-rtos/phoenix-rtos-hostutils/blob/545b23f24540f8db7799777ae8389910d4a5ca35/phoenixd/phoenixd.c#L46
https://github.com/phoenix-rtos/phoenix-rtos-hostutils/blob/545b23f24540f8db7799777ae8389910d4a5ca35/phoenixd/phoenixd.c#L297
https://github.com/phoenix-rtos/phoenix-rtos-hostutils/blob/545b23f24540f8db7799777ae8389910d4a5ca35/phoenixd/phoenixd.c#L299
@nalajcie thanks.
Currently baudrate is set in 3 places and the value is hard coded: https://github.com/phoenix-rtos/phoenix-rtos-hostutils/blob/545b23f24540f8db7799777ae8389910d4a5ca35/phoenixd/phoenixd.c#L46 https://github.com/phoenix-rtos/phoenix-rtos-hostutils/blob/545b23f24540f8db7799777ae8389910d4a5ca35/phoenixd/phoenixd.c#L297 https://github.com/phoenix-rtos/phoenix-rtos-hostutils/blob/545b23f24540f8db7799777ae8389910d4a5ca35/phoenixd/phoenixd.c#L299 I think that it should be passed to the program as a parameter.