Most probably you have some mix of your patched code, this part is not upstream at all, the only occurrence is here https://github.com/espruino/Espruino/blob/25648d5fc9c586e7a3271e944e5e3b3fb9bfd74b/targets/nrf5x/jshardware.c#L2458 and it allows to recover when some other code pulls CS high but that 'other code' is not there at all. This part is also not lcd_spi_unbuf specific, it is a minimal fix that allows sharing same spi with flash and anything else (like accelerometer on DK08)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Most probably you have some mix of your patched code, this part is not upstream at all, the only occurrence is here https://github.com/espruino/Espruino/blob/25648d5fc9c586e7a3271e944e5e3b3fb9bfd74b/targets/nrf5x/jshardware.c#L2458 and it allows to recover when some other code pulls CS high but that 'other code' is not there at all. This part is also not lcd_spi_unbuf specific, it is a minimal fix that allows sharing same spi with flash and anything else (like accelerometer on DK08)
here https://gist.github.com/fanoush/627200137d8199c993d6c54901c1c819 is patch with @jeffmer 's changes of
lcd_spi_unbuf
that worked for me, all that is not in upstream Espruino