mirror of
https://github.com/xtacocorex/CHIP_IO
synced 2025-07-20 04:43:21 +00:00
randomness for #32 and #48. cleanup of removing the spi function in common.c/.h since it isn't chip specific
This commit is contained in:
@ -742,10 +742,6 @@ static PyObject *py_selftest(PyObject *self, PyObject *args)
|
||||
ASSRT(0 == build_path("/home", "ip", fp, sizeof(fp)));
|
||||
ASSRT(0 == build_path("/NOTFOUND", "ch", fp, sizeof(fp)));
|
||||
|
||||
printf("Testing get_spi_bus_path_number\n");
|
||||
ASSRT(2 == get_spi_bus_path_number(0)); /* doesn't really work on CHIP */
|
||||
ASSRT(2 == get_spi_bus_path_number(1)); /* doesn't really work on CHIP */
|
||||
|
||||
printf("Testing error message buffer\n");
|
||||
clear_error_msg();
|
||||
ASSRT(0 == strlen(get_error_msg()));
|
||||
|
Reference in New Issue
Block a user