summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authorDan Halbert <halbert@adafruit.com>2019-09-06 14:56:24 -0400
committerGitHub <noreply@github.com>2019-09-06 14:56:24 -0400
commitcf6fbcbf2df4851c6108e8dd4513325606c72461 (patch)
tree23389932223ad3c222954c16219f329f3b146f07 /supervisor
parent5e754f1694b9563af3d8be6325d82661e2a5269b (diff)
parent3156ee1acbd776cef5e2f09a4adbe30f4f3eed07 (diff)
Merge pull request #2123 from hierophect/stm32-flashstub-fix
Fix stm32f412zg compile warning
Diffstat (limited to 'supervisor')
-rw-r--r--supervisor/stub/internal_flash.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/supervisor/stub/internal_flash.c b/supervisor/stub/internal_flash.c
index eb1f4a106..5db6b5bc0 100644
--- a/supervisor/stub/internal_flash.c
+++ b/supervisor/stub/internal_flash.c
@@ -49,10 +49,6 @@ uint32_t supervisor_flash_get_block_count(void) {
void supervisor_flash_flush(void) {
}
-static int32_t convert_block_to_flash_addr(uint32_t block) {
- return -1;
-}
-
mp_uint_t supervisor_flash_read_blocks(uint8_t *dest, uint32_t block, uint32_t num_blocks) {
return 0; // success
}