aboutsummaryrefslogtreecommitdiff
path: root/firmwares/wifishield/wifiHD/src/SOFTWARE_FRAMEWORK/DRIVERS/SPI/spi.c
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2020-09-17 17:40:02 +0200
committerMatthijs Kooijman <matthijs@stdin.nl>2020-09-17 20:01:29 +0200
commit66d06b033c3f6eafde901418be3c089ffcc6ebfc (patch)
tree0d1f4edaf6362bd5913a18b9a9b690b97134c7c8 /firmwares/wifishield/wifiHD/src/SOFTWARE_FRAMEWORK/DRIVERS/SPI/spi.c
parentb8c6c850421d0d81bb5ea9c340c4fcd958937165 (diff)
Call std::terminate on pure or deleted virtual functions
These are special functions that are presumably put into vtables for deleted or pure virtual functions. Previously, this would call `abort()` directly, but calling `std::terminate()` achieves the same effect, but allows user code to change the behavior (e.g. to print to serial, blink leds or whatever makes sense).
Diffstat (limited to 'firmwares/wifishield/wifiHD/src/SOFTWARE_FRAMEWORK/DRIVERS/SPI/spi.c')
0 files changed, 0 insertions, 0 deletions